diff options
Diffstat (limited to 'fs/sysfs/mount.c')
| -rw-r--r-- | fs/sysfs/mount.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c index 20b8f82e115b..fb49510c5dcf 100644 --- a/fs/sysfs/mount.c +++ b/fs/sysfs/mount.c @@ -30,7 +30,7 @@ static struct dentry *sysfs_mount(struct file_system_type *fs_type,  	void *ns;  	bool new_sb; -	if (!(flags & MS_KERNMOUNT)) { +	if (!(flags & SB_KERNMOUNT)) {  		if (!kobj_ns_current_may_mount(KOBJ_NS_TYPE_NET))  			return ERR_PTR(-EPERM);  	}  | 
