xfs: split inode flushing from xfs_sync_inodes_ag
authorChristoph Hellwig <hch@lst.de>
Mon, 8 Jun 2009 13:35:05 +0000 (15:35 +0200)
committerChristoph Hellwig <hch@brick.lst.de>
Mon, 8 Jun 2009 13:35:05 +0000 (15:35 +0200)
commit845b6d0cbbc2304e8a54ed4038272c55f85b2269
tree1c8e9270f7e78a0525f1873cef4d017618e06632
parent5a34d5cd096310133f9208db294021208a96660d
xfs: split inode flushing from xfs_sync_inodes_ag

In many cases we only want to sync inode metadata. Split out the inode
flushing into a separate helper to prepare factoring the inode sync code.

Based on a patch from Dave Chinner, but redone to keep the current behaviour
exactly and leave changes to the flushing logic to another patch.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
fs/xfs/linux-2.6/xfs_sync.c