diff options
-rw-r--r-- | fs/ext4/inode.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 645de3eaf2c9..7fcd68ee9155 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c | |||
@@ -148,6 +148,9 @@ static int ext4_inode_is_fast_symlink(struct inode *inode) | |||
148 | int ea_blocks = EXT4_I(inode)->i_file_acl ? | 148 | int ea_blocks = EXT4_I(inode)->i_file_acl ? |
149 | EXT4_CLUSTER_SIZE(inode->i_sb) >> 9 : 0; | 149 | EXT4_CLUSTER_SIZE(inode->i_sb) >> 9 : 0; |
150 | 150 | ||
151 | if (ext4_has_inline_data(inode)) | ||
152 | return 0; | ||
153 | |||
151 | return (S_ISLNK(inode->i_mode) && inode->i_blocks - ea_blocks == 0); | 154 | return (S_ISLNK(inode->i_mode) && inode->i_blocks - ea_blocks == 0); |
152 | } | 155 | } |
153 | 156 | ||