xfs: use AIL bulk update function to implement single updates
authorDave Chinner <dchinner@redhat.com>
Mon, 20 Dec 2010 01:34:26 +0000 (12:34 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 20 Dec 2010 01:34:26 +0000 (12:34 +1100)
commite60599492990d1b52c70e9ed2f8e062fe11ca937
treecff4380f728123db94f432e46cc4b1028ba61073
parent3013683253ad04f67d8cfaa25be708353686b90a
xfs: use AIL bulk update function to implement single updates

We now have two copies of AIL insert operations that are mostly
duplicate functionality. The single log item updates can be
implemented via the bulk updates by turning xfs_trans_ail_update()
into a simple wrapper. This removes all the duplicate insert
functionality and associated helpers.

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