aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/ioctl.c')
-rw-r--r--fs/btrfs/ioctl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c
index b2a2da5893af..c48e37444717 100644
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
@@ -349,7 +349,7 @@ static int btrfs_ioctl_setflags(struct file *file, void __user *arg)
349 349
350 btrfs_update_iflags(inode); 350 btrfs_update_iflags(inode);
351 inode_inc_iversion(inode); 351 inode_inc_iversion(inode);
352 inode->i_ctime = current_fs_time(inode->i_sb); 352 inode->i_ctime = current_time(inode);
353 ret = btrfs_update_inode(trans, root, inode); 353 ret = btrfs_update_inode(trans, root, inode);
354 354
355 btrfs_end_transaction(trans, root); 355 btrfs_end_transaction(trans, root);
@@ -445,7 +445,7 @@ static noinline int create_subvol(struct inode *dir,
445 struct btrfs_root *root = BTRFS_I(dir)->root; 445 struct btrfs_root *root = BTRFS_I(dir)->root;
446 struct btrfs_root *new_root; 446 struct btrfs_root *new_root;
447 struct btrfs_block_rsv block_rsv; 447 struct btrfs_block_rsv block_rsv;
448 struct timespec cur_time = current_fs_time(dir->i_sb); 448 struct timespec cur_time = current_time(dir);
449 struct inode *inode; 449 struct inode *inode;
450 int ret; 450 int ret;
451 int err; 451 int err;
@@ -3279,7 +3279,7 @@ static int clone_finish_inode_update(struct btrfs_trans_handle *trans,
3279 3279
3280 inode_inc_iversion(inode); 3280 inode_inc_iversion(inode);
3281 if (!no_time_update) 3281 if (!no_time_update)
3282 inode->i_mtime = inode->i_ctime = current_fs_time(inode->i_sb); 3282 inode->i_mtime = inode->i_ctime = current_time(inode);
3283 /* 3283 /*
3284 * We round up to the block size at eof when determining which 3284 * We round up to the block size at eof when determining which
3285 * extents to clone above, but shouldn't round up the file size. 3285 * extents to clone above, but shouldn't round up the file size.
@@ -5094,7 +5094,7 @@ static long _btrfs_ioctl_set_received_subvol(struct file *file,
5094 struct btrfs_root *root = BTRFS_I(inode)->root; 5094 struct btrfs_root *root = BTRFS_I(inode)->root;
5095 struct btrfs_root_item *root_item = &root->root_item; 5095 struct btrfs_root_item *root_item = &root->root_item;
5096 struct btrfs_trans_handle *trans; 5096 struct btrfs_trans_handle *trans;
5097 struct timespec ct = current_fs_time(inode->i_sb); 5097 struct timespec ct = current_time(inode);
5098 int ret = 0; 5098 int ret = 0;
5099 int received_uuid_changed; 5099 int received_uuid_changed;
5100 5100