[XFS] merge xfs_unmount into xfs_fs_put_super / xfs_fs_fill_super
authorChristoph Hellwig <hch@infradead.org>
Tue, 20 May 2008 01:30:52 +0000 (11:30 +1000)
committerNiv Sardi <xaiki@debian.org>
Mon, 28 Jul 2008 06:58:20 +0000 (16:58 +1000)
commite48ad3160e5c5f5b952c7a7ed814f6f289a60100
tree25f1c0d30cc6b88976ff5dd31f1f983248c238cf
parent61436febae29085bffc7c291db03cbd709dc68a3
[XFS] merge xfs_unmount into xfs_fs_put_super / xfs_fs_fill_super

xfs_unmount is small and already pretty Linux specific, so merge it into
the callers. The real unmount path is simplified a little by doing a
WARN_ON on the xfs_unmount_flush retval directly instead of propagating
the error back to the caller, and the mout failure case in simplified
significantly by removing the forced shutdown case and all the dmapi
events that shouldn't be sent because the dmapi mount event hasn't been
sent by that time either.

SGI-PV: 981951
SGI-Modid: xfs-linux-melb:xfs-kern:31188a

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