xfs: remove confusing ail cursor wrapper
authorDave Chinner <dchinner@redhat.com>
Mon, 18 Jul 2011 03:40:17 +0000 (03:40 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 20 Jul 2011 23:37:37 +0000 (18:37 -0500)
commit16b5902943c793e632cf8c9526619f59893bdc29
tree84769a5a36744ab7ad9288d8359c520ec2f8e101
parent1d8c95a363bf8cd4d4182dd19c01693b635311c2
xfs: remove confusing ail cursor wrapper

xfs_trans_ail_cursor_set() doesn't set the cursor to the current log
item, it sets it to the next item. There is already a function for
doing this - xfs_trans_ail_cursor_next() - and the _set function is
simply a two line wrapper.  Remove it and open code the setting of
the cursor in the two locations that call it to remove the
confusion.

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