xfs: cleanup xlog_recover_do_trans
commitff0205e032b9733bb634ad5dadc79a0f6d30c721
authorChristoph Hellwig <hch@lst.de>
Mon, 16 Mar 2009 07:20:52 +0000 (16 08:20 +0100)
committerChristoph Hellwig <hch@brick.lst.de>
Mon, 16 Mar 2009 07:20:52 +0000 (16 08:20 +0100)
treec6ce6d61960173d6aee9af8071d618e48460318c
parentdd0bbad81c8d02315a5035d3d6ea441dd1254dc1
xfs: cleanup xlog_recover_do_trans

Change the big if-elsif-else block handling the different item types
into a more natural switch, remove assignments in conditionals and
remove an out of place comment from centuries ago on IRIX.

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