diff options
Diffstat (limited to 'fs/ext4/ialloc.c')
-rw-r--r-- | fs/ext4/ialloc.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/ext4/ialloc.c b/fs/ext4/ialloc.c index acdde93b74d7..612bec255c6c 100644 --- a/fs/ext4/ialloc.c +++ b/fs/ext4/ialloc.c | |||
@@ -873,11 +873,7 @@ got: | |||
873 | ei->i_dir_start_lookup = 0; | 873 | ei->i_dir_start_lookup = 0; |
874 | ei->i_disksize = 0; | 874 | ei->i_disksize = 0; |
875 | 875 | ||
876 | /* | 876 | /* Don't inherit extent flag from directory, amongst others. */ |
877 | * Don't inherit extent flag from directory, amongst others. We set | ||
878 | * extent flag on newly created directory and file only if -o extent | ||
879 | * mount option is specified | ||
880 | */ | ||
881 | ei->i_flags = | 877 | ei->i_flags = |
882 | ext4_mask_flags(mode, EXT4_I(dir)->i_flags & EXT4_FL_INHERITED); | 878 | ext4_mask_flags(mode, EXT4_I(dir)->i_flags & EXT4_FL_INHERITED); |
883 | ei->i_file_acl = 0; | 879 | ei->i_file_acl = 0; |