xfs: untangle phase1 vs phase2 recovery helpers
authorChristoph Hellwig <hch@infradead.org>
Wed, 1 Dec 2010 22:06:24 +0000 (22:06 +0000)
committerAlex Elder <aelder@sgi.com>
Thu, 16 Dec 2010 22:05:30 +0000 (16:05 -0600)
commitc9f71f5fc4390ea3a8087c00d53a799e7e0f0f8e
treea8d7ffe0a1fe4e547ef0672a0060ce5d2f5f66f0
parentd0450948641b2090b5d467ba638bbebd40b20b21
xfs: untangle phase1 vs phase2 recovery helpers

Dispatch to a different helper for phase1 vs phase2 in
xlog_recover_commit_trans instead of doing it in all the
low-level functions.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_log_recover.c