Christoph Hellwig ff4f038c6b [XFS] refactor xfs_mount_free
xfs_mount_free mostly frees the perag data, which is something that is
duplicated in the mount error path.

Move the XFS_QM_DONE call to the caller and remove the useless
mutex_destroy/spinlock_destroy calls so that we can re-use it for the
mount error path. Also rename it to xfs_free_perag to reflect what it
does.

SGI-PV: 981498

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

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
2008-08-13 16:50:47 +10:00
..
2008-08-13 16:49:32 +10:00
2008-07-28 16:59:25 +10:00
2008-04-29 16:07:48 +10:00
2008-07-28 16:58:49 +10:00
2008-08-13 16:22:40 +10:00
2008-08-13 16:22:40 +10:00
2008-08-13 16:07:53 +10:00
2008-07-28 16:58:35 +10:00
2008-07-28 16:59:25 +10:00
2008-08-13 16:17:37 +10:00
2008-08-13 16:17:37 +10:00
2008-07-28 16:59:09 +10:00
2008-08-13 16:49:32 +10:00
2008-08-13 16:49:32 +10:00
2008-08-13 16:49:32 +10:00
2008-08-13 16:49:32 +10:00
2008-08-13 16:50:47 +10:00
2008-08-13 16:22:40 +10:00