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)
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

Simple merge