]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[XFS] Replace custom AIL linked-list code with struct list_head
authorJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Thu, 27 Mar 2008 06:58:27 +0000 (17:58 +1100)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Fri, 18 Apr 2008 01:41:57 +0000 (11:41 +1000)
commit535f6b3735db6ef6026537bfe55ae00c3d9cc1ee
tree49be6c12a19332a0ce0288143f67b44e4b8538b8
parenta45c796867df8dabc8eed6e72898d7ba1609bd7e
[XFS] Replace custom AIL linked-list code with struct list_head

Replace the xfs_ail_entry_t with a struct list_head and clean the
surrounding code up. Also fixes a livelock in xfs_trans_first_push_ail()
by terminating the loop at the head of the list correctly.

SGI-PV: 978682
SGI-Modid: xfs-linux-melb:xfs-kern:30636a

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/xfs_mount.h
fs/xfs/xfs_trans.h
fs/xfs/xfs_trans_ail.c