xfs: convert log grant ticket queues to list heads
authorDave Chinner <dchinner@redhat.com>
Tue, 21 Dec 2010 01:02:25 +0000 (12:02 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 21 Dec 2010 01:02:25 +0000 (12:02 +1100)
The grant write and reserve queues use a roll-your-own double linked
list, so convert it to a standard list_head structure and convert
all the list traversals to use list_for_each_entry(). We can also
get rid of the XLOG_TIC_IN_Q flag as we can use the list_empty()
check to tell if the ticket is in a list or not.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>

No differences found