summaryrefslogtreecommitdiff
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorNikolay Borisov <n.borisov.lkml@gmail.com>2017-01-18 01:31:32 +0300
committerDavid Sterba <dsterba@suse.com>2017-02-14 17:50:54 +0300
commit49f34d1f968fb1e00dd782a2ea27e9910629a3f6 (patch)
treee7e78739796af01775b231343c2b0acc073b82f9 /fs/btrfs/inode.c
parent9ca5fbfbb92e91933510f0903b2492e5e7b45464 (diff)
downloadlinux-49f34d1f968fb1e00dd782a2ea27e9910629a3f6.tar.xz
btrfs: Make btrfs_del_dir_entries_in_log 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.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)