Skip to content

Commit

Permalink
btrfs: remove unused parameter from clone_copy_inline_extent
Browse files Browse the repository at this point in the history
Never used.

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 1a287cf commit 4a0ab9d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions fs/btrfs/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -3383,8 +3383,7 @@ static void clone_update_extent_map(struct inode *inode,
* data into the destination inode's inline extent if the later is greater then
* the former.
*/
static int clone_copy_inline_extent(struct inode *src,
struct inode *dst,
static int clone_copy_inline_extent(struct inode *dst,
struct btrfs_trans_handle *trans,
struct btrfs_path *path,
struct btrfs_key *new_key,
Expand Down Expand Up @@ -3763,7 +3762,7 @@ static int btrfs_clone(struct inode *src, struct inode *inode,
size -= skip + trim;
datal -= skip + trim;

ret = clone_copy_inline_extent(src, inode,
ret = clone_copy_inline_extent(inode,
trans, path,
&new_key,
drop_start,
Expand Down

0 comments on commit 4a0ab9d

Please sign in to comment.