projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eca743d
)
staging: erofs: rename superblock flags (MS_xyz -> SB_xyz)
author
Gao Xiang
<
[email protected]
>
Thu, 6 Sep 2018 09:01:47 +0000
(17:01 +0800)
committer
Greg Kroah-Hartman
<
[email protected]
>
Mon, 10 Sep 2018 08:12:21 +0000
(10:12 +0200)
This patch follows commit
1751e8a6cb93
("Rename superblock
flags (MS_xyz -> SB_xyz)") and after commit ("vfs: Suppress
MS_* flag defs within the kernel unless explicitly enabled"),
there is no MS_RDONLY and MS_NOATIME at all.
Reported-by: Stephen Rothwell <
[email protected]
>
Reviewed-by: Chao Yu <
[email protected]
>
Signed-off-by: Gao Xiang <
[email protected]
>
Reviewed-by: David Howells <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/erofs/super.c
patch
|
blob
|
history
diff --git
a/drivers/staging/erofs/super.c
b/drivers/staging/erofs/super.c
index 1aec509c805feddf35b9db78e2db78bdcd5b00fd..2df9768edac96d1dc199071698558c6fb1e5da5d 100644
(file)
--- a/
drivers/staging/erofs/super.c
+++ b/
drivers/staging/erofs/super.c
@@
-340,7
+340,7
@@
static int erofs_read_super(struct super_block *sb,
goto err_sbread;
sb->s_magic = EROFS_SUPER_MAGIC;
- sb->s_flags |=
MS_RDONLY | MS
_NOATIME;
+ sb->s_flags |=
SB_RDONLY | SB
_NOATIME;
sb->s_maxbytes = MAX_LFS_FILESIZE;
sb->s_time_gran = 1;
@@
-627,7
+627,7
@@
static int erofs_remount(struct super_block *sb, int *flags, char *data)
{
BUG_ON(!sb_rdonly(sb));
- *flags |=
MS
_RDONLY;
+ *flags |=
SB
_RDONLY;
return 0;
}