aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/ext4/inode.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 1685f6a87789..89dd87634a2f 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -3233,12 +3233,14 @@ int ext4_mark_inode_dirty(handle_t *handle, struct inode *inode)
3233 iloc, handle); 3233 iloc, handle);
3234 if (ret) { 3234 if (ret) {
3235 EXT4_I(inode)->i_state |= EXT4_STATE_NO_EXPAND; 3235 EXT4_I(inode)->i_state |= EXT4_STATE_NO_EXPAND;
3236 if (mnt_count != sbi->s_es->s_mnt_count) { 3236 if (mnt_count !=
3237 le16_to_cpu(sbi->s_es->s_mnt_count)) {
3237 ext4_warning(inode->i_sb, __FUNCTION__, 3238 ext4_warning(inode->i_sb, __FUNCTION__,
3238 "Unable to expand inode %lu. Delete" 3239 "Unable to expand inode %lu. Delete"
3239 " some EAs or run e2fsck.", 3240 " some EAs or run e2fsck.",
3240 inode->i_ino); 3241 inode->i_ino);
3241 mnt_count = sbi->s_es->s_mnt_count; 3242 mnt_count =
3243 le16_to_cpu(sbi->s_es->s_mnt_count);
3242 } 3244 }
3243 } 3245 }
3244 } 3246 }