diff options
Diffstat (limited to 'fs/ext4/ialloc.c')
-rw-r--r-- | fs/ext4/ialloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/ialloc.c b/fs/ext4/ialloc.c index fb51b40e3e8f..1ff3df086e58 100644 --- a/fs/ext4/ialloc.c +++ b/fs/ext4/ialloc.c | |||
@@ -889,7 +889,7 @@ got: | |||
889 | * newly created directory and file only if -o extent mount option is | 889 | * newly created directory and file only if -o extent mount option is |
890 | * specified | 890 | * specified |
891 | */ | 891 | */ |
892 | ei->i_flags = EXT4_I(dir)->i_flags & ~(EXT4_INDEX_FL|EXT4_EXTENTS_FL); | 892 | ei->i_flags = EXT4_I(dir)->i_flags & EXT4_FL_INHERITED; |
893 | if (S_ISLNK(mode)) | 893 | if (S_ISLNK(mode)) |
894 | ei->i_flags &= ~(EXT4_IMMUTABLE_FL|EXT4_APPEND_FL); | 894 | ei->i_flags &= ~(EXT4_IMMUTABLE_FL|EXT4_APPEND_FL); |
895 | /* dirsync only applies to directories */ | 895 | /* dirsync only applies to directories */ |