]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - fs/efs/super.c
Rename superblock flags (MS_xyz -> SB_xyz)
[mirror_ubuntu-hirsute-kernel.git] / fs / efs / super.c
index 5c42f1e34a2ffa10e7135236a84e523f7918718a..6ffb7ba1547a66508d3179fe3dab86362f70419d 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * super.c
  *
@@ -115,7 +116,7 @@ static void destroy_inodecache(void)
 static int efs_remount(struct super_block *sb, int *flags, char *data)
 {
        sync_filesystem(sb);
-       *flags |= MS_RDONLY;
+       *flags |= SB_RDONLY;
        return 0;
 }
 
@@ -310,7 +311,7 @@ static int efs_fill_super(struct super_block *s, void *d, int silent)
 #ifdef DEBUG
                pr_info("forcing read-only mode\n");
 #endif
-               s->s_flags |= MS_RDONLY;
+               s->s_flags |= SB_RDONLY;
        }
        s->s_op   = &efs_superblock_operations;
        s->s_export_op = &efs_export_ops;