[lustre-devel] [PATCH 404/622] lustre: llite: MS_* flags and SB_* flags split
James Simmons
jsimmons at infradead.org
Thu Feb 27 13:14:32 PST 2020
From: Shaun Tancheff <stancheff at cray.com>
In kernel 4.20 the MS_* flags should only be used for mount
time flags and SB_* flags for checking super_block.s_flags
The MS_* flags have moved to a uapi header. Change the one
that was missed, MS_NOSEC to SB_NOSEC.
WC-bug-id: https://jira.whamcloud.com/browse/LU-12355
Lustre-commit:72a84970e6d2a ("LU-12355 llite: MS_* flags and SB_* flags split")
Signed-off-by: Shaun Tancheff <stancheff at cray.com>
Reviewed-on: https://review.whamcloud.com/35019
Reviewed-by: Andreas Dilger <adilger at whamcloud.com>
Reviewed-by: Petros Koutoupis <pkoutoupis at cray.com>
Reviewed-by: James Simmons <jsimmons at infradead.org>
Signed-off-by: James Simmons <jsimmons at infradead.org>
---
fs/lustre/llite/llite_lib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/lustre/llite/llite_lib.c b/fs/lustre/llite/llite_lib.c
index e0395e5..3e058d2 100644
--- a/fs/lustre/llite/llite_lib.c
+++ b/fs/lustre/llite/llite_lib.c
@@ -270,7 +270,7 @@ static int client_common_fill_super(struct super_block *sb, char *md, char *dt)
/* Setting this indicates we correctly support S_NOSEC (See kernel
* commit 9e1f1de02c2275d7172e18dc4e7c2065777611bf)
*/
- sb->s_flags |= MS_NOSEC;
+ sb->s_flags |= SB_NOSEC;
if (sbi->ll_flags & LL_SBI_FLOCK)
sbi->ll_fop = &ll_file_operations_flock;
--
1.8.3.1
More information about the lustre-devel
mailing list