From: Dave Chinner Date: Tue, 21 Dec 2010 01:02:25 +0000 (+1100) Subject: xfs: convert log grant ticket queues to list heads X-Git-Tag: v2.6.38-rc1~44^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1054794198e39103cb986618c4c10ec2252b7089;p=pandora-kernel.git 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 Reviewed-by: Christoph Hellwig --- Reading git-diff-tree failed