diff options
author | Nikolay Borisov <n.borisov.lkml@gmail.com> | 2017-01-10 20:35:37 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-14 15:50:52 +0100 |
commit | e07222c7d20633b86d3af9d55f97d687837b7c02 (patch) | |
tree | 57c83cccad417e6c35e41011643eb34f355576de /fs/btrfs/inode.c | |
parent | e67bbbb9d0292df834e9e5366aba605233a699c7 (diff) |
btrfs: Make btrfs_delayed_delete_inode_ref take btrfs_inode
Signed-off-by: Nikolay Borisov <n.borisov.lkml@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 31917f9c1a9b..5afc98f3a560 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -4029,7 +4029,7 @@ static int __btrfs_unlink_inode(struct btrfs_trans_handle *trans, * we update the inode item. */ if (BTRFS_I(inode)->dir_index) { - ret = btrfs_delayed_delete_inode_ref(inode); + ret = btrfs_delayed_delete_inode_ref(BTRFS_I(inode)); if (!ret) { index = BTRFS_I(inode)->dir_index; goto skip_backref; |