]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3f9dcd391f7e29f20df96bc792ab9e037270733d
treecff4380f728123db94f432e46cc4b1028ba61073
parent5832edaf5b4855cd257dd7246eb30ccef5cb0a6c
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