提交 18d8c860 编写于 作者: A Al Viro

namei: uninline set_root{,_rcu}()

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 aed434ad
...@@ -777,12 +777,12 @@ static int complete_walk(struct nameidata *nd) ...@@ -777,12 +777,12 @@ static int complete_walk(struct nameidata *nd)
return status; return status;
} }
static __always_inline void set_root(struct nameidata *nd) static void set_root(struct nameidata *nd)
{ {
get_fs_root(current->fs, &nd->root); get_fs_root(current->fs, &nd->root);
} }
static __always_inline unsigned set_root_rcu(struct nameidata *nd) static unsigned set_root_rcu(struct nameidata *nd)
{ {
struct fs_struct *fs = current->fs; struct fs_struct *fs = current->fs;
unsigned seq; unsigned seq;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册