From 08518549722f0c992a9e4be71a0777f37147e9d2 Mon Sep 17 00:00:00 2001 From: Paul Moore Date: Wed, 21 Jan 2015 23:59:56 -0500 Subject: [PATCH] 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-format-patch failed