summaryrefslogtreecommitdiff
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
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 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;