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 fe8da3974ff8..9a2b55eb6f73 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -4060,7 +4060,7 @@ skip_backref:
}
ret = btrfs_del_dir_entries_in_log(trans, root, name, name_len,
- dir, index);
+ BTRFS_I(dir), index);
if (ret == -ENOENT)
ret = 0;
else if (ret)