[XFS] move freeing the mount structure from xfs_mount_free into the callers
authorChristoph Hellwig <hch@infradead.org>
Wed, 29 Aug 2007 01:53:22 +0000 (11:53 +1000)
committerTim Shimmin <tes@chook.melbourne.sgi.com>
Tue, 16 Oct 2007 01:40:52 +0000 (11:40 +1000)
commitf541d270dbce375b7bd8cef466bdaf0cff945b45
treec0dbbf48f4b2dfd3c2740f251afd403deb5db2fa
parent0a74cd1964501fdb577176f14ed3d02b8e148127
[XFS] move freeing the mount structure from xfs_mount_free into the callers

In the next patch we need to look at the mount structure until just before
it's freed, so we need to be able to free it as the very last thing in
xfs_unmount.

SGI-PV: 969608
SGI-Modid: xfs-linux-melb:xfs-kern:29501a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
fs/xfs/linux-2.6/xfs_vfs.c
fs/xfs/xfs_mount.c
fs/xfs/xfs_vfsops.c