aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-02-10 14:20:19 -0500
committerDavid Sterba <dsterba@suse.com>2017-02-17 06:03:54 -0500
commitd75eefdf9671115ce810598e15f72d20e3de0906 (patch)
tree5f2fd18334c9ff3bd9b0b41dbf458632cf1941b7
parent4a0ab9d711e9c2817c46c3f88cd1c36c917a4823 (diff)
btrfs: remove unused parameter from __add_inode_ref
Unused since the helper has been split, eb used in the caller. Reviewed-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r--fs/btrfs/tree-log.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c
index 62dd138018b5..3806853cde08 100644
--- a/fs/btrfs/tree-log.c
+++ b/fs/btrfs/tree-log.c
@@ -994,7 +994,6 @@ static inline int __add_inode_ref(struct btrfs_trans_handle *trans,
994 struct btrfs_root *log_root, 994 struct btrfs_root *log_root,
995 struct btrfs_inode *dir, 995 struct btrfs_inode *dir,
996 struct btrfs_inode *inode, 996 struct btrfs_inode *inode,
997 struct extent_buffer *eb,
998 u64 inode_objectid, u64 parent_objectid, 997 u64 inode_objectid, u64 parent_objectid,
999 u64 ref_index, char *name, int namelen, 998 u64 ref_index, char *name, int namelen,
1000 int *search_done) 999 int *search_done)
@@ -1310,7 +1309,7 @@ static noinline int add_inode_ref(struct btrfs_trans_handle *trans,
1310 if (!search_done) { 1309 if (!search_done) {
1311 ret = __add_inode_ref(trans, root, path, log, 1310 ret = __add_inode_ref(trans, root, path, log,
1312 BTRFS_I(dir), 1311 BTRFS_I(dir),
1313 BTRFS_I(inode), eb, 1312 BTRFS_I(inode),
1314 inode_objectid, 1313 inode_objectid,
1315 parent_objectid, 1314 parent_objectid,
1316 ref_index, name, namelen, 1315 ref_index, name, namelen,