xfs: convert remaining direct references to m_perag
authorDave Chinner <david@fromorbit.com>
Mon, 11 Jan 2010 11:47:43 +0000 (11:47 +0000)
committerAlex Elder <aelder@sgi.com>
Fri, 15 Jan 2010 21:33:39 +0000 (15:33 -0600)
commit44b56e0a1aed522a10051645e85d300e10926fd3
treec46879f4feaec1b19456395d74a2e9c27dde530d
parent4196ac08c023c6dab90c3fa460d9c06deaa304c4
xfs: convert remaining direct references to m_perag

Convert the remaining direct lookups of the per ag structures to use
get/put accesses. Ensure that the loops across AGs and prior users
of the interface balance gets and puts correctly.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_bmap.c
fs/xfs/xfs_ialloc.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_mount.c