summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-05-13 12:57:49 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2015-05-15 07:10:44 +0200
commita2ec4a2d5cf35972b0e4dd84f66142bc76bb6cb2 (patch)
tree033d35688548286208f7123f10f68b817be64b42
parentnamei: trim do_last() arguments (diff)
downloadlinux-a2ec4a2d5cf35972b0e4dd84f66142bc76bb6cb2.tar.xz
linux-a2ec4a2d5cf35972b0e4dd84f66142bc76bb6cb2.zip
inline user_path_parent()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--fs/namei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c
index 8d453041a323..53f832adca7e 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -2312,7 +2312,7 @@ EXPORT_SYMBOL(user_path_at);
* allocated by getname. So we must hold the reference to it until all
* path-walking is complete.
*/
-static struct filename *
+static inline struct filename *
user_path_parent(int dfd, const char __user *path,
struct path *parent,
struct qstr *last,