diff options
Diffstat (limited to 'fs/proc/root.c')
-rw-r--r-- | fs/proc/root.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/proc/root.c b/fs/proc/root.c index 926fb27f4ca2..ede8e64974be 100644 --- a/fs/proc/root.c +++ b/fs/proc/root.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | ||
1 | /* | 2 | /* |
2 | * linux/fs/proc/root.c | 3 | * linux/fs/proc/root.c |
3 | * | 4 | * |
@@ -90,7 +91,7 @@ static struct dentry *proc_mount(struct file_system_type *fs_type, | |||
90 | { | 91 | { |
91 | struct pid_namespace *ns; | 92 | struct pid_namespace *ns; |
92 | 93 | ||
93 | if (flags & MS_KERNMOUNT) { | 94 | if (flags & SB_KERNMOUNT) { |
94 | ns = data; | 95 | ns = data; |
95 | data = NULL; | 96 | data = NULL; |
96 | } else { | 97 | } else { |