]> git.karo-electronics.de Git - karo-tx-linux.git/commit
GFS2: rbm code cleanup
authorBob Peterson <rpeterso@redhat.com>
Tue, 7 Aug 2012 17:28:17 +0000 (13:28 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 7 Aug 2012 21:11:38 +0000 (22:11 +0100)
commit4be6e19c6dc7f365e107bbb3e1a40931202e390e
tree0230190fd5c5a6f9a4213813b7e7889d94b31f51
parent8733e61ea11a05ff5ebadbaf3bae846368b4bd05
GFS2: rbm code cleanup

This patch fixes a few small rbm related things. First, it fixes
a corner case where the rbm needs to switch bitmaps and wasn't
adjusting its buffer pointer. Second, there's a white space issue
fixed. Third, the logic in function gfs2_rbm_from_block was optimized
a bit. Lastly, a check for goal block overflows was added to function
gfs2_alloc_blocks.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/rgrp.c