From: David Sterba Date: Fri, 10 Feb 2017 19:20:19 +0000 (+0100) Subject: btrfs: remove unused parameter from __add_inode_ref X-Git-Tag: v5.15~11466^2~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d75eefdf9671115ce810598e15f72d20e3de0906;p=platform%2Fkernel%2Flinux-starfive.git btrfs: remove unused parameter from __add_inode_ref Unused since the helper has been split, eb used in the caller. Reviewed-by: Liu Bo Signed-off-by: David Sterba --- diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c index 62dd138..3806853 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, struct btrfs_root *log_root, struct btrfs_inode *dir, struct btrfs_inode *inode, - struct extent_buffer *eb, u64 inode_objectid, u64 parent_objectid, u64 ref_index, char *name, int namelen, int *search_done) @@ -1310,7 +1309,7 @@ static noinline int add_inode_ref(struct btrfs_trans_handle *trans, if (!search_done) { ret = __add_inode_ref(trans, root, path, log, BTRFS_I(dir), - BTRFS_I(inode), eb, + BTRFS_I(inode), inode_objectid, parent_objectid, ref_index, name, namelen,