mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-18 10:34:24 +08:00
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>
This commit is contained in:
parent
1a287cfea1
commit
4a0ab9d711
@ -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
|
* data into the destination inode's inline extent if the later is greater then
|
||||||
* the former.
|
* the former.
|
||||||
*/
|
*/
|
||||||
static int clone_copy_inline_extent(struct inode *src,
|
static int clone_copy_inline_extent(struct inode *dst,
|
||||||
struct inode *dst,
|
|
||||||
struct btrfs_trans_handle *trans,
|
struct btrfs_trans_handle *trans,
|
||||||
struct btrfs_path *path,
|
struct btrfs_path *path,
|
||||||
struct btrfs_key *new_key,
|
struct btrfs_key *new_key,
|
||||||
@ -3763,7 +3762,7 @@ process_slot:
|
|||||||
size -= skip + trim;
|
size -= skip + trim;
|
||||||
datal -= skip + trim;
|
datal -= skip + trim;
|
||||||
|
|
||||||
ret = clone_copy_inline_extent(src, inode,
|
ret = clone_copy_inline_extent(inode,
|
||||||
trans, path,
|
trans, path,
|
||||||
&new_key,
|
&new_key,
|
||||||
drop_start,
|
drop_start,
|
||||||
|
Loading…
Reference in New Issue
Block a user