Skip to content
Commit 820a7802 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Greg Kroah-Hartman
Browse files

btrfs: mark the len field in struct btrfs_ordered_sum as unsigned

[ Upstream commit 6e4b2479

 ]

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

Reviewed-by: default avatarJohannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
Stable-dep-of: 9e65bfca

 ("btrfs: fix qgroup_free_reserved_data int overflow")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent ab220f4f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment