xfs: use AIL bulk delete function to implement single delete
authorDave Chinner <dchinner@redhat.com>
Mon, 20 Dec 2010 01:36:15 +0000 (12:36 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 20 Dec 2010 01:36:15 +0000 (12:36 +1100)
commit9552e7f2f3dd13a7580e488a7a3582332daad4f5
tree2568a24be0a0b933277e1bc71b849ccfffab6abf
parente60599492990d1b52c70e9ed2f8e062fe11ca937
xfs: use AIL bulk delete function to implement single delete

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

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