]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Fixed declaration of old_len
authorAlexandru Moise <00moses.alexander00@gmail.com>
Mon, 24 Aug 2015 21:56:28 +0000 (21:56 +0000)
committerDavid Sterba <dsterba@suse.com>
Wed, 21 Oct 2015 16:28:48 +0000 (18:28 +0200)
commitd4be51e0a16bca151beeb71db0d1bdfeaead2aa0
tree74de26553a3385ba986e9dac644403ba5f58ce85
parenta881109a7d3e7a02ee7a07aa48a066d4728b9636
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: David Sterba <dsterba@suse.com>
Signed-off-by: Alexandru Moise <00moses.alexander00@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/root-tree.c