xfs: rename xfs_get_perag
authorDave Chinner <david@fromorbit.com>
Mon, 11 Jan 2010 11:47:40 +0000 (11:47 +0000)
committerAlex Elder <aelder@sgi.com>
Fri, 15 Jan 2010 21:33:02 +0000 (15:33 -0600)
commit5017e97d52628fb8ae56e434e86ac2e72ddaac2b
treebbad07b8fc75e9d309d0a4c450a886eaf7e687fd
parentc9c129714e71c890bed1bd5b61697a896c3c2d54
xfs: rename xfs_get_perag

xfs_get_perag is really getting the perag that an inode belongs to
based on it's inode number. Convert the use of this function to just
get the perag from a provided ag number.  Use this new function to
obtain the per-ag structure when traversing the per AG inode trees
for sync and reclaim.

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/linux-2.6/xfs_sync.c
fs/xfs/xfs_iget.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_mount.h