namei: uninline set_root{,_rcu}()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
aed434ada6
commit
18d8c86011
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user