btrfs: remove unused parameter from clone_copy_inline_extent
authorDavid Sterba <dsterba@suse.com>
Fri, 10 Feb 2017 19:18:49 +0000 (20:18 +0100)
committerDavid Sterba <dsterba@suse.com>
Fri, 17 Feb 2017 11:03:54 +0000 (12:03 +0100)
Never used.

Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ioctl.c

index 9b47ecc5262e2aebb73e8c0a1cc48e13d4415da6..717f34f977d59ff9d953e53f65b6473eb65915a5 100644 (file)
@@ -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,