btrfs-progs: use wider int type in btrfs_min_global_blk_rsv_size
authorDavid Sterba <dsterba@suse.com>
Thu, 2 Jun 2016 16:18:41 +0000 (18:18 +0200)
committerDavid Sterba <dsterba@suse.com>
Fri, 3 Jun 2016 12:49:42 +0000 (14:49 +0200)
commit835ce31a03ffe774dd11dd7aa00a449f57fd090f
tree3d2c90650a3c1f8e797c09963b1f8eaa23a23bdd
parent2171228b200bfd1e1c9e993f7cac6567e6c94609
btrfs-progs: use wider int type in btrfs_min_global_blk_rsv_size

We know nodesize should not overflow with the shift, but le'ts make the
code correct if the resulting type can store the full value.

Resolves-coverity-id: 1358120
Signed-off-by: David Sterba <dsterba@suse.com>
utils.h