]> git.karo-electronics.de Git - linux-beck.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>
Mon, 24 Sep 2012 09:47:04 +0000 (10:47 +0100)
commit8d8b752a0f55282498b918f6a28f87ee2bcf19c3
tree5d8727cc91b4bf928e313fc28ae291b222bbf097
parent5d50d5324612d28c47b9361e5424f13a19c888cd
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