提交 d75eefdf 编写于 作者: D David Sterba

btrfs: remove unused parameter from __add_inode_ref

Unused since the helper has been split, eb used in the caller.
Reviewed-by: NLiu Bo <bo.li.liu@oracle.com>
Signed-off-by: NDavid Sterba <dsterba@suse.com>
上级 4a0ab9d7
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册