[XFS] Allocate the struct xfs_ail
authorDavid Chinner <david@fromorbit.com>
Thu, 30 Oct 2008 06:38:26 +0000 (17:38 +1100)
committerLachlan McIlroy <lachlan@sgi.com>
Thu, 30 Oct 2008 06:38:26 +0000 (17:38 +1100)
commit82fa9012458d867936d7bf130e6e14bdebc6873c
treee2d8d7aa9a30c55b7d314df7406f1c47832340d7
parenta7444053fb3ebd3d905e3c7a7bd5ea80a54b083a
[XFS] Allocate the struct xfs_ail

Rather than embedding the struct xfs_ail in the struct xfs_mount, allocate
it during AIL initialisation. Add a back pointer to the struct xfs_ail so
that we can pass around the xfs_ail and still be able to access the
xfs_mount if need be. This is th first step involved in isolating the AIL
implementation from the surrounding filesystem code.

SGI-PV: 988143

SGI-Modid: xfs-linux-melb:xfs-kern:32346a

Signed-off-by: David Chinner <david@fromorbit.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
fs/xfs/linux-2.6/xfs_super.c
fs/xfs/xfs_mount.h
fs/xfs/xfs_trans_ail.c
fs/xfs/xfs_trans_priv.h