@@ -2429,13 +2429,13 @@ int sync_inode_metadata(struct inode *inode, int wait);
struct file_system_type {
const char *name;
int fs_flags;
-#define FS_REQUIRES_DEV 1
-#define FS_BINARY_MOUNTDATA 2
-#define FS_HAS_SUBTYPE 4
-#define FS_USERNS_MOUNT 8 /* Can be mounted by userns root */
-#define FS_DISALLOW_NOTIFY_PERM 16 /* Disable fanotify permission events */
-#define FS_ALLOW_IDMAP 32 /* FS has been updated to handle vfs idmappings. */
-#define FS_RENAME_DOES_D_MOVE 32768 /* FS will handle d_move() during rename() internally. */
+#define FS_REQUIRES_DEV (1<<0)
+#define FS_BINARY_MOUNTDATA (1<<1)
+#define FS_HAS_SUBTYPE (1<<2)
+#define FS_USERNS_MOUNT (1<<3) /* Can be mounted by userns root */
+#define FS_DISALLOW_NOTIFY_PERM (1<<4) /* Disable fanotify permission events */
+#define FS_ALLOW_IDMAP (1<<5) /* FS can handle vfs idmappings */
+#define FS_RENAME_DOES_D_MOVE (1<<15) /* FS will handle d_move() internally */
int (*init_fs_context)(struct fs_context *);
const struct fs_parameter_spec *parameters;
struct dentry *(*mount) (struct file_system_type *, int,
Use bit shift for flag constants and abbreviate comments. Signed-off-by: Amir Goldstein <amir73il@gmail.com> --- include/linux/fs.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)