]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - fs/btrfs/xattr.c
Btrfs: only log the inode item if we can get away with it
[~shefty/rdma-dev.git] / fs / btrfs / xattr.c
index aef6bb3c5f5c82a77a1d5eeaef0d65a6661d7367..446a6848c5548f2f8f03f2b532eac9a174bd56c7 100644 (file)
@@ -208,6 +208,7 @@ int __btrfs_setxattr(struct btrfs_trans_handle *trans,
 
        inode_inc_iversion(inode);
        inode->i_ctime = CURRENT_TIME;
+       set_bit(BTRFS_INODE_COPY_EVERYTHING, &BTRFS_I(inode)->runtime_flags);
        ret = btrfs_update_inode(trans, root, inode);
        BUG_ON(ret);
 out: