Skip to content

Commit

Permalink
btrfs: remove unused parameter from __add_inode_ref
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Sterba committed Feb 17, 2017
1 parent 4a0ab9d commit d75eefd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fs/btrfs/tree-log.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit d75eefd

Please sign in to comment.