From: Paul Moore Date: Thu, 22 Jan 2015 04:59:56 +0000 (-0500) Subject: fs: rework getname_kernel to handle up to PATH_MAX sized filenames X-Git-Tag: fixes-v4.0-rc1~75^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08518549722f0c992a9e4be71a0777f37147e9d2;p=pandora-kernel.git fs: rework getname_kernel to handle up to PATH_MAX sized filenames In preparation for expanded use in the kernel, make getname_kernel() more useful by allowing it to handle any legal filename length. Thanks to Guenter Roeck for his suggestion to substitute memcpy() for strlcpy(). CC: linux@roeck-us.net CC: viro@zeniv.linux.org.uk CC: linux-fsdevel@vger.kernel.org Signed-off-by: Paul Moore Signed-off-by: Al Viro --- Reading git-diff-tree failed