On 03/18/2014 03:50 PM, Cyrill Gorcunov wrote: > On Tue, Mar 18, 2014 at 03:40:48PM +0400, Cyrill Gorcunov wrote: >>> + if (n < pathlen && path[n] != '/') >>> + continue; >> >> Don't you want it to be path[n - 1] != '/' ? > > Sorry for noise, all is right > > Acked-by: Cyrill Gorcunov <gorcunov at openvz.org> > . > applied