projects
/
wrapfs-5.2.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
072b321
)
use SB flags instead of MS in remount_fs
author
Erez Zadok
<ezk@cs.sunysb.edu>
Mon, 16 Dec 2019 01:23:07 +0000
(20:23 -0500)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Mon, 16 Dec 2019 01:23:07 +0000
(20:23 -0500)
fs/wrapfs/super.c
patch
|
blob
|
history
diff --git
a/fs/wrapfs/super.c
b/fs/wrapfs/super.c
index 94ee5c04ed5e0052682527728dc1e93ace8a2461..7468a2ed89ca8036d48a68b53f8c3e51de731841 100644
(file)
--- a/
fs/wrapfs/super.c
+++ b/
fs/wrapfs/super.c
@@
-64,7
+64,7
@@
static int wrapfs_remount_fs(struct super_block *sb, int *flags, char *options)
* can safely accept a few flags (RDONLY, MANDLOCK), and honor
* SILENT, but anything else left over is an error.
*/
- if ((*flags & ~(
MS_RDONLY | MS_MANDLOCK | MS
_SILENT)) != 0) {
+ if ((*flags & ~(
SB_RDONLY | SB_MANDLOCK | SB
_SILENT)) != 0) {
printk(KERN_ERR
"wrapfs: remount flags 0x%x unsupported\n", *flags);
err = -EINVAL;