btrfs: mark the len field in struct btrfs_ordered_sum as unsigned
authorChristoph Hellwig <hch@lst.de>
Wed, 24 May 2023 15:03:06 +0000 (17:03 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2023 11:59:32 +0000 (13:59 +0200)
commit6e4b2479ab38b3f949a85964da212295d32102f0
tree9c9622d489385600e62295006d24fd43f4bb529d
parente9cb93b9fbd0bfcef2774e82d095362ad16acf6e
btrfs: mark the len field in struct btrfs_ordered_sum as unsigned

len can't ever be negative, so mark it as an u32 instead of int.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/file-item.c
fs/btrfs/ordered-data.h