GFS2: new function gfs2_rbm_incr
authorBob Peterson <rpeterso@redhat.com>
Tue, 17 Sep 2013 17:14:35 +0000 (13:14 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 18 Sep 2013 09:40:38 +0000 (10:40 +0100)
commit149ed7f51e279916e7a7a1eef5cec50da67d7cfe
tree36e24333ca87d57d2bff0996c9d7680037945539
parente579ed4f446e64748a2d26eed8f8b28f728495bd
GFS2: new function gfs2_rbm_incr

Since the previous patch eliminated bi in favor of bii, this follow-on
patch needed to be adjusted accordingly. Here is the revised version.

This patch adds a new function, gfs2_rbm_incr, which increments
an rbm structure. This is more efficient than calling gfs2_rbm_to_block,
incrementing, then calling gfs2_rbm_from_block.

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