Commit 08faf52b authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] fix WARN_ON on XFS module unload

From: Christoph Hellwig <hch@lst.de>

This one is a little funny.  The SGI trees don't show this issue because dmapi
and quota are separate modules so they must be unloaded before xfs_fs_exit can
be called at all.

So let's move the exitcalls for them in mainline first to simulate that
behaviour.
parent 6032402c
......@@ -833,10 +833,10 @@ init_xfs_fs( void )
STATIC void __exit
exit_xfs_fs( void )
{
unregister_filesystem(&xfs_fs_type);
xfs_cleanup();
vfs_exitquota();
vfs_exitdmapi();
unregister_filesystem(&xfs_fs_type);
xfs_cleanup();
pagebuf_terminate();
destroy_inodecache();
ktrace_uninit();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment