xfs: factor agf counter updates into a helper
authorChristoph Hellwig <hch@infradead.org>
Fri, 4 Mar 2011 12:59:55 +0000 (12:59 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 9 Mar 2011 14:23:47 +0000 (08:23 -0600)
Updating the AGF and transactions counters is duplicated between allocating
and freeing extents.  Factor the code into a common helper.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Alex Elder <aelder@sgi.com>

No differences found