]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit73e008a84a5b757777f1080c47ddf7a6f07237c1
treef03dbb3037136fe72fb05d886eb5a2b48c0548c1
parent0b6d8ab177258a117c85cba822969990755b940a
[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