From: David Sterba Date: Fri, 10 Feb 2017 19:18:49 +0000 (+0100) Subject: btrfs: remove unused parameter from clone_copy_inline_extent X-Git-Tag: v5.15~11466^2~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4a0ab9d711e9c2817c46c3f88cd1c36c917a4823;p=platform%2Fkernel%2Flinux-starfive.git btrfs: remove unused parameter from clone_copy_inline_extent Never used. Reviewed-by: Liu Bo Signed-off-by: David Sterba --- diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index 9b47ecc..717f34f 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c @@ -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, @@ -3763,7 +3762,7 @@ process_slot: 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,