From 029a5608c949d360a410b0770f97c38a58f9763b Mon Sep 17 00:00:00 2001 From: David Sterba Date: Thu, 9 Feb 2017 17:42:02 +0100 Subject: btrfs-progs: remove unused argument from btrfs_lookup_inode_ref Signed-off-by: David Sterba --- inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inode.c') diff --git a/inode.c b/inode.c index 991b8ddb..6b8bf40f 100644 --- a/inode.c +++ b/inode.c @@ -286,7 +286,7 @@ int btrfs_unlink(struct btrfs_trans_handle *trans, struct btrfs_root *root, /* check the ref and backref exists */ inode_ref = btrfs_lookup_inode_ref(trans, root, path, name, namelen, - ino, parent_ino, index, 0); + ino, parent_ino, 0); if (IS_ERR(inode_ref)) { ret = PTR_ERR(inode_ref); goto out; -- cgit v1.2.3