|
@@ -5744,7 +5744,7 @@ static struct inode *new_simple_dir(struct super_block *s,
|
|
|
inode->i_mtime = current_time(inode);
|
|
|
inode->i_atime = inode->i_mtime;
|
|
|
inode->i_ctime = inode->i_mtime;
|
|
|
- BTRFS_I(inode)->i_otime = timespec64_to_timespec(inode->i_mtime);
|
|
|
+ BTRFS_I(inode)->i_otime = inode->i_mtime;
|
|
|
|
|
|
return inode;
|
|
|
}
|
|
@@ -6348,7 +6348,7 @@ static struct inode *btrfs_new_inode(struct btrfs_trans_handle *trans,
|
|
|
inode->i_mtime = current_time(inode);
|
|
|
inode->i_atime = inode->i_mtime;
|
|
|
inode->i_ctime = inode->i_mtime;
|
|
|
- BTRFS_I(inode)->i_otime = timespec64_to_timespec(inode->i_mtime);
|
|
|
+ BTRFS_I(inode)->i_otime = inode->i_mtime;
|
|
|
|
|
|
inode_item = btrfs_item_ptr(path->nodes[0], path->slots[0],
|
|
|
struct btrfs_inode_item);
|