diff options
author | Dave Chinner <dchinner@redhat.com> | 2010-12-21 12:02:25 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2010-12-21 12:02:25 +1100 |
commit | 1054794198e39103cb986618c4c10ec2252b7089 (patch) | |
tree | bc1d6a3eece9385bef892c2df7d6dba6f39d3088 /block/noop-iosched.c | |
parent | 9552e7f2f3dd13a7580e488a7a3582332daad4f5 (diff) | |
download | blackbird-op-linux-1054794198e39103cb986618c4c10ec2252b7089.tar.gz blackbird-op-linux-1054794198e39103cb986618c4c10ec2252b7089.zip |
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>
Diffstat (limited to 'block/noop-iosched.c')
0 files changed, 0 insertions, 0 deletions