GFS2: Use gfs2_rbm_incr in rgblk_free
authorBob Peterson <rpeterso@redhat.com>
Fri, 3 Oct 2014 12:38:06 +0000 (08:38 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 3 Oct 2014 13:40:10 +0000 (14:40 +0100)
commitd24e0569e046430832d32eb3ea231dc763782e4d
treeb0a4e2dfc489fdc9f3293e915e9bfd053e381d03
parent19aeb5a65f1a6504fc665466c188241e7393d66f
GFS2: Use gfs2_rbm_incr in rgblk_free

This patch speeds up GFS2 unlink operations by using function
gfs2_rbm_incr rather than continuously calculating the rbm.

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