]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit84c83209a0935318085021e8a45e6c491b2f76d8
treed92788c1ef422b49479678dc38177a8d36ee2e6a
parent524667a5dee38f3ae3ac88ce8f012f3f42377e71
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