Re: [PATCH] btrfs: Fixed dsize and last_off declarations

2015-08-27 Thread David Sterba
On Sun, Aug 23, 2015 at 04:01:42PM +, Alexandru Moise wrote: > 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. > > Signed-off-by: Alexandru Moise

Re: [PATCH] btrfs: Fixed dsize and last_off declarations

2015-08-27 Thread David Sterba
On Sun, Aug 23, 2015 at 04:01:42PM +, Alexandru Moise wrote: 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. Signed-off-by: Alexandru Moise

[PATCH] btrfs: Fixed dsize and last_off declarations

2015-08-23 Thread Alexandru Moise
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. Signed-off-by: Alexandru Moise <00moses.alexande...@gmail.com> --- fs/btrfs/ctree.c | 4 ++-- 1 file

[PATCH] btrfs: Fixed dsize and last_off declarations

2015-08-23 Thread Alexandru Moise
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. Signed-off-by: Alexandru Moise 00moses.alexande...@gmail.com --- fs/btrfs/ctree.c | 4 ++-- 1 file changed,