diff options
Diffstat (limited to 'fs/btrfs/transaction.c')
-rw-r--r-- | fs/btrfs/transaction.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c index 95d41919d034..c294313ea2c8 100644 --- a/fs/btrfs/transaction.c +++ b/fs/btrfs/transaction.c | |||
@@ -1474,7 +1474,7 @@ static noinline int create_pending_snapshot(struct btrfs_trans_handle *trans, | |||
1474 | parent_root = BTRFS_I(parent_inode)->root; | 1474 | parent_root = BTRFS_I(parent_inode)->root; |
1475 | record_root_in_trans(trans, parent_root, 0); | 1475 | record_root_in_trans(trans, parent_root, 0); |
1476 | 1476 | ||
1477 | cur_time = current_fs_time(parent_inode->i_sb); | 1477 | cur_time = current_time(parent_inode); |
1478 | 1478 | ||
1479 | /* | 1479 | /* |
1480 | * insert the directory item | 1480 | * insert the directory item |
@@ -1630,7 +1630,7 @@ static noinline int create_pending_snapshot(struct btrfs_trans_handle *trans, | |||
1630 | btrfs_i_size_write(parent_inode, parent_inode->i_size + | 1630 | btrfs_i_size_write(parent_inode, parent_inode->i_size + |
1631 | dentry->d_name.len * 2); | 1631 | dentry->d_name.len * 2); |
1632 | parent_inode->i_mtime = parent_inode->i_ctime = | 1632 | parent_inode->i_mtime = parent_inode->i_ctime = |
1633 | current_fs_time(parent_inode->i_sb); | 1633 | current_time(parent_inode); |
1634 | ret = btrfs_update_inode_fallback(trans, parent_root, parent_inode); | 1634 | ret = btrfs_update_inode_fallback(trans, parent_root, parent_inode); |
1635 | if (ret) { | 1635 | if (ret) { |
1636 | btrfs_abort_transaction(trans, ret); | 1636 | btrfs_abort_transaction(trans, ret); |