xfs: factor xlog_write
authorDave Chinner <dchinner@redhat.com>
Tue, 23 Mar 2010 00:29:44 +0000 (11:29 +1100)
committerAlex Elder <aelder@sgi.com>
Wed, 19 May 2010 14:58:09 +0000 (09:58 -0500)
commitb5203cd0a43c17dfb9d498bc9e3146624e8c9622
treece779712f4419aa238e0bf3a919ecc4010953fea
parent9b9fc2b7602ed671d1a8524d4c31302b89554947
xfs: factor xlog_write

xlog_write is a mess that takes a lot of effort to understand. It is
a mass of nested loops with 4 space indents to get it to fit in 80 columns
and lots of funky variables that aren't obvious what they mean or do.

Break it down into understandable chunks.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/xfs_log.c