xfs: remove duplicate code in xlog_cil_insert_format_items
authorChristoph Hellwig <hch@infradead.org>
Fri, 13 Dec 2013 00:00:42 +0000 (11:00 +1100)
committerDave Chinner <david@fromorbit.com>
Fri, 13 Dec 2013 00:00:42 +0000 (11:00 +1100)
commit9597df6b26a1988a5a04762711149f98ec6ab388
tree576228ddbba2315adaf2d1b5bddd694ef7c81d9d
parentf9b395a8ef8f34d19cae2cde361e19c96e097fad
xfs: remove duplicate code in xlog_cil_insert_format_items

Share code that was previously duplicated in two branches.

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