commit | 1054794198e39103cb986618c4c10ec2252b7089 | [log] [tgz] |
---|---|---|
author | Dave Chinner <dchinner@redhat.com> | Tue Dec 21 12:02:25 2010 +1100 |
committer | Dave Chinner <david@fromorbit.com> | Tue Dec 21 12:02:25 2010 +1100 |
tree | bc1d6a3eece9385bef892c2df7d6dba6f39d3088 | |
parent | 9552e7f2f3dd13a7580e488a7a3582332daad4f5 [diff] |
xfs: convert log grant ticket queues to list heads 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>