Browse Source

inline user_path_parent()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 10 years ago
parent
commit
a2ec4a2d5c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/namei.c

+ 1 - 1
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,