diff options
Diffstat (limited to 'fs/proc/root.c')
| -rw-r--r-- | fs/proc/root.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/fs/proc/root.c b/fs/proc/root.c index 3c2ee3eb1138..a86e65a608da 100644 --- a/fs/proc/root.c +++ b/fs/proc/root.c @@ -310,11 +310,11 @@ void __init proc_root_init(void)  	register_filesystem(&proc_fs_type);  } -static int proc_root_getattr(struct user_namespace *mnt_userns, +static int proc_root_getattr(struct mnt_idmap *idmap,  			     const struct path *path, struct kstat *stat,  			     u32 request_mask, unsigned int query_flags)  { -	generic_fillattr(&init_user_ns, d_inode(path->dentry), stat); +	generic_fillattr(&nop_mnt_idmap, d_inode(path->dentry), stat);  	stat->nlink = proc_root.nlink + nr_processes();  	return 0;  } | 
