summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-02-10 20:18:49 +0100
committerDavid Sterba <dsterba@suse.com>2017-02-17 12:03:54 +0100
commit4a0ab9d711e9c2817c46c3f88cd1c36c917a4823 (patch)
treefb866870bf7d3fa0ea2f0e9993b149e63ed76e47 /fs
parent1a287cfea17c3c14c03151fa970baf86b9055c26 (diff)
downloadlinux-4a0ab9d711e9c2817c46c3f88cd1c36c917a4823.tar.gz
linux-4a0ab9d711e9c2817c46c3f88cd1c36c917a4823.tar.bz2
linux-4a0ab9d711e9c2817c46c3f88cd1c36c917a4823.zip
btrfs: remove unused parameter from clone_copy_inline_extent
Never used. Reviewed-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/ioctl.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c
index 9b47ecc5262e..717f34f977d5 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,