summaryrefslogtreecommitdiff
path: root/fs/btrfs/xattr.c
diff options
context:
space:
mode:
authorChris Mason <clm@fb.com>2016-03-01 19:13:56 +0300
committerChris Mason <clm@fb.com>2016-03-01 19:13:56 +0300
commitc05c5ee5ea40fe40df5e29471f583a0eb7c531e3 (patch)
treec56a3336bf631d9e97f038f1253e8e99726eb3e5 /fs/btrfs/xattr.c
parentfc77dbd34c5c99bce46d40a2491937c3bcbd10af (diff)
parentf5bc27c71a1b0741cb93dbec0f216b012b21d93f (diff)
downloadlinux-c05c5ee5ea40fe40df5e29471f583a0eb7c531e3.tar.xz
Merge tag 'for-chris' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux into for-linus-4.6
Btrfs patchsets for 4.6
Diffstat (limited to 'fs/btrfs/xattr.c')
-rw-r--r--fs/btrfs/xattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/xattr.c b/fs/btrfs/xattr.c
index 6c68d6356197..f2a20d52b9db 100644
--- a/fs/btrfs/xattr.c
+++ b/fs/btrfs/xattr.c
@@ -249,7 +249,7 @@ int __btrfs_setxattr(struct btrfs_trans_handle *trans,
goto out;
inode_inc_iversion(inode);
- inode->i_ctime = CURRENT_TIME;
+ inode->i_ctime = current_fs_time(inode->i_sb);
set_bit(BTRFS_INODE_COPY_EVERYTHING, &BTRFS_I(inode)->runtime_flags);
ret = btrfs_update_inode(trans, root, inode);
BUG_ON(ret);