aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorNikolay Borisov2020-11-02 16:48:57 +0200
committerDavid Sterba2020-12-08 15:54:10 +0100
commitf3fbcaef59927b811a5219e4201510e2df11e6ac (patch)
tree4666d251c0d5876ed6a9cf591fe4d2d5cd3afde0 /fs/btrfs/inode.c
parent72e7e6edd376facb350a4211e400518daffa3d08 (diff)
btrfs: make btrfs_delayed_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/inode.c')
-rw-r--r--fs/btrfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 0e0a1c8c1255..32250919f177 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -3674,7 +3674,7 @@ noinline int btrfs_update_inode(struct btrfs_trans_handle *trans,
&& !test_bit(BTRFS_FS_LOG_RECOVERING, &fs_info->flags)) {
btrfs_update_root_times(trans, root);
- ret = btrfs_delayed_update_inode(trans, root, inode);
+ ret = btrfs_delayed_update_inode(trans, root, BTRFS_I(inode));
if (!ret)
btrfs_set_inode_last_trans(trans, BTRFS_I(inode));
return ret;