[GFS2] Fix a size calculation error
authorRussell Cattelan <cattelan@redhat.com>
Mon, 9 Oct 2006 17:11:54 +0000 (12:11 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 12 Oct 2006 21:09:54 +0000 (17:09 -0400)
commit52ae7b7935a079aaba25da98fe90772d04109f26
treef03dbb3037136fe72fb05d886eb5a2b48c0548c1
parentc25d5180441e344a3368d100c57f0a481c6944f7
[GFS2] Fix a size calculation error

Fix a size calculation error.
The size was incorrect being computed as a
negative length and then being passed to an
unsigned parameter.

This in turn would cause the allocator to
think it needed enough meta data to store
a gigabyte file for every file created.

Signed-off-by: Russell Cattelan <cattelan@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/ops_address.c