inline user_path_parent()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 13 May 2015 10:57:49 +0000 (06:57 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 15 May 2015 05:10:44 +0000 (01:10 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c

index 8d453041a32392f1ad51d5e320c03aa390f3cf8d..53f832adca7e6d46607157c4522e5407047dfb71 100644 (file)
@@ -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,