btrfs: fix argument type of btrfs_bio_clone_partial()
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Wed, 21 Jul 2021 12:43:33 +0000 (21:43 +0900)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Aug 2021 11:19:08 +0000 (13:19 +0200)
commit21dda654d4808833668b380e5f0b9befff8640ae
treed92788c1ef422b49479678dc38177a8d36ee2e6a
parente83502ca5f1e1f03fb1393008ec22d17e7dc9882
btrfs: fix argument type of btrfs_bio_clone_partial()

The offset and can never be negative use unsigned int instead of int
type for them.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h