diff options
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 1ade43c02b81..2858bc355920 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c | |||
@@ -5744,7 +5744,7 @@ static struct inode *new_simple_dir(struct super_block *s, | |||
5744 | inode->i_mtime = current_time(inode); | 5744 | inode->i_mtime = current_time(inode); |
5745 | inode->i_atime = inode->i_mtime; | 5745 | inode->i_atime = inode->i_mtime; |
5746 | inode->i_ctime = inode->i_mtime; | 5746 | inode->i_ctime = inode->i_mtime; |
5747 | BTRFS_I(inode)->i_otime = timespec64_to_timespec(inode->i_mtime); | 5747 | BTRFS_I(inode)->i_otime = inode->i_mtime; |
5748 | 5748 | ||
5749 | return inode; | 5749 | return inode; |
5750 | } | 5750 | } |
@@ -6348,7 +6348,7 @@ static struct inode *btrfs_new_inode(struct btrfs_trans_handle *trans, | |||
6348 | inode->i_mtime = current_time(inode); | 6348 | inode->i_mtime = current_time(inode); |
6349 | inode->i_atime = inode->i_mtime; | 6349 | inode->i_atime = inode->i_mtime; |
6350 | inode->i_ctime = inode->i_mtime; | 6350 | inode->i_ctime = inode->i_mtime; |
6351 | BTRFS_I(inode)->i_otime = timespec64_to_timespec(inode->i_mtime); | 6351 | BTRFS_I(inode)->i_otime = inode->i_mtime; |
6352 | 6352 | ||
6353 | inode_item = btrfs_item_ptr(path->nodes[0], path->slots[0], | 6353 | inode_item = btrfs_item_ptr(path->nodes[0], path->slots[0], |
6354 | struct btrfs_inode_item); | 6354 | struct btrfs_inode_item); |