GFS2: Change maxlen variables to size_t
authorBob Peterson <rpeterso@redhat.com>
Wed, 6 Aug 2014 13:08:36 +0000 (09:08 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 21 Aug 2014 09:22:23 +0000 (10:22 +0100)
This patch changes some variables (especially maxlen in function
gfs2_block_map) from unsigned int to size_t. We need 64-bit arithmetic
for very large files (e.g. 1PB) where the variables otherwise get
shifted to all 0's.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>

No differences found