btrfs: Fixed dsize and last_off declarations
authorAlexandru Moise <00moses.alexander00@gmail.com>
Sun, 23 Aug 2015 16:01:42 +0000 (16:01 +0000)
committerDavid Sterba <dsterba@suse.com>
Wed, 21 Oct 2015 16:28:48 +0000 (18:28 +0200)
commitce0eac2a1d82eb841eae357bcef7ac39df131b21
treed4f547bdf48b1147afa28183d02489e5e0f5ab98
parent0d51e28a11ad428ac8545a3ec8724395fa1c71a7
btrfs: Fixed dsize and last_off declarations

The return values of btrfs_item_offset_nr and btrfs_item_size_nr are of
type u32. To avoid mixing signed and unsigned integers we should also
declare dsize and last_off to be of type u32.

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/ctree.c