diff --git a/fs/ext4/xattr.c b/fs/ext4/xattr.c index 2e02efbddaac..90e044b914b5 100644 --- a/fs/ext4/xattr.c +++ b/fs/ext4/xattr.c @@ -2074,6 +2074,7 @@ ext4_xattr_block_set(handle_t *handle, struct inode *inode, */ ref = le32_to_cpu(BHDR(new_bh)->h_refcount) + 1; if (ref > EXT4_XATTR_REFCOUNT_MAX) { + clear_bit(MBE_REUSABLE_B, &ce->e_flags); /* * Undo everything and check mbcache * again.