From: Dave Chinner Date: Mon, 18 Jul 2011 03:40:18 +0000 (+0000) Subject: xfs: convert AIL cursors to use struct list_head X-Git-Tag: v3.1-rc1~322^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af3e40228fb2dbc18d94fbd5103f07344a720ae7;p=pandora-kernel.git xfs: convert AIL cursors to use struct list_head The list of active AIL cursors uses a roll-your-own linked list with special casing for the AIL push cursor. Simplify this code by replacing the list with standard struct list_head lists, and use a separate list_head to track the active cursors. This allows us to treat the AIL push cursor as a generic cursor rather than as a special case, further simplifying the code. Further, fix the duplicate push cursor initialisation that the special case handling was hiding, and clean up all the comments around the active cursor list handling. Signed-off-by: Dave Chinner Reviewed-by: Christoph Hellwig Signed-off-by: Alex Elder --- Reading git-diff-tree failed