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 7ff14a1adba3..f3e17a8c84b4 100644 --- a/fs/ext4/ialloc.c +++ b/fs/ext4/ialloc.c | |||
@@ -771,7 +771,7 @@ struct inode *__ext4_new_inode(handle_t *handle, struct inode *dir, | |||
771 | if (unlikely(ext4_forced_shutdown(sbi))) | 771 | if (unlikely(ext4_forced_shutdown(sbi))) |
772 | return ERR_PTR(-EIO); | 772 | return ERR_PTR(-EIO); |
773 | 773 | ||
774 | if ((ext4_encrypted_inode(dir) || DUMMY_ENCRYPTION_ENABLED(sbi)) && | 774 | if ((IS_ENCRYPTED(dir) || DUMMY_ENCRYPTION_ENABLED(sbi)) && |
775 | (S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode)) && | 775 | (S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode)) && |
776 | !(i_flags & EXT4_EA_INODE_FL)) { | 776 | !(i_flags & EXT4_EA_INODE_FL)) { |
777 | err = fscrypt_get_encryption_info(dir); | 777 | err = fscrypt_get_encryption_info(dir); |