Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid
[linux-2.6-microblaze.git] / fs / ext4 / xattr.c
index cba4b87..6127e94 100644 (file)
@@ -2419,6 +2419,7 @@ retry_inode:
                if (IS_SYNC(inode))
                        ext4_handle_sync(handle);
        }
+       ext4_fc_mark_ineligible(inode->i_sb, EXT4_FC_REASON_XATTR);
 
 cleanup:
        brelse(is.iloc.bh);
@@ -2496,6 +2497,7 @@ retry:
                if (error == 0)
                        error = error2;
        }
+       ext4_fc_mark_ineligible(inode->i_sb, EXT4_FC_REASON_XATTR);
 
        return error;
 }
@@ -2928,6 +2930,7 @@ int ext4_xattr_delete_inode(handle_t *handle, struct inode *inode,
                                         error);
                        goto cleanup;
                }
+               ext4_fc_mark_ineligible(inode->i_sb, EXT4_FC_REASON_XATTR);
        }
        error = 0;
 cleanup: