diff options
author | Chris Mason <chris.mason@oracle.com> | 2012-05-30 17:55:38 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2012-05-30 17:55:38 +0200 |
commit | cfc442b69696b593cb442f09997dcb4cb5748171 (patch) | |
tree | 84a28a271ad14a695507df65af4ac0c83e64217c /fs/btrfs/xattr.c | |
parent | Linux 3.4 (diff) | |
parent | Btrfs: fix false positive in check-integrity on unmount (diff) | |
download | linux-cfc442b69696b593cb442f09997dcb4cb5748171.tar.xz linux-cfc442b69696b593cb442f09997dcb4cb5748171.zip |
Merge branch 'for-chris' of git://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next into HEAD
Diffstat (limited to 'fs/btrfs/xattr.c')
-rw-r--r-- | fs/btrfs/xattr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/xattr.c b/fs/btrfs/xattr.c index e7a5659087e6..3f4e2d69e83a 100644 --- a/fs/btrfs/xattr.c +++ b/fs/btrfs/xattr.c @@ -196,6 +196,7 @@ int __btrfs_setxattr(struct btrfs_trans_handle *trans, if (ret) goto out; + inode_inc_iversion(inode); inode->i_ctime = CURRENT_TIME; ret = btrfs_update_inode(trans, root, inode); BUG_ON(ret); |