On Mon, Jun 08, 2015 at 10:48:40AM +0300, Vladimir Davydov wrote: > > > + path = kmalloc(PATH_MAX + 1, GFP_KERNEL); > > > > PATH_MAX + 2, other in series looks good, thank you! > > Why +2? :) forget it, all is correct > > > Reviewed-by: Cyrill Gorcunov <gorcunov at openvz.org>