Skip to content
Commit 0412e58c authored by Alexandru Moise's avatar Alexandru Moise Committed by David Sterba
Browse files

btrfs: Fixed declaration of old_len



old_len is used to store the return value of btrfs_item_size_nr().
The return value of btrfs_item_size_nr() is of type u32.
To improve code correctness and avoid mixing signed and unsigned
integers I've changed old_len to be of type u32 as well.

Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarAlexandru Moise <00moses.alexander00@gmail.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent ce0eac2a
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