diff options
author | Nikolay Borisov <nborisov@suse.com> | 2020-11-02 17:48:59 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-12-08 17:54:11 +0300 |
commit | 9a56fcd15a9c6b580a21c439deab60bb4cd2cfd9 (patch) | |
tree | e224e11578eecbfb7aec119395d1331341dc88c8 /fs/btrfs/reflink.c | |
parent | dfeb9e7cc3ed0d7e4a307e9c4a714c2950b2a9e4 (diff) | |
download | linux-9a56fcd15a9c6b580a21c439deab60bb4cd2cfd9.tar.xz |
btrfs: make btrfs_update_inode take btrfs_inode
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/reflink.c')
-rw-r--r-- | fs/btrfs/reflink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/reflink.c b/fs/btrfs/reflink.c index 952b8f33619c..be16acd87588 100644 --- a/fs/btrfs/reflink.c +++ b/fs/btrfs/reflink.c @@ -34,7 +34,7 @@ static int clone_finish_inode_update(struct btrfs_trans_handle *trans, btrfs_inode_safe_disk_i_size_write(BTRFS_I(inode), 0); } - ret = btrfs_update_inode(trans, root, inode); + ret = btrfs_update_inode(trans, root, BTRFS_I(inode)); if (ret) { btrfs_abort_transaction(trans, ret); btrfs_end_transaction(trans); |