浏览代码

inline user_path_parent()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 10 年之前
父节点
当前提交
a2ec4a2d5c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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,