diff options
author | 2008-08-13 16:50:47 +1000 | |
---|---|---|
committer | 2008-08-13 16:50:47 +1000 | |
commit | ff4f038c6bbb27044a84adbcd27bc237d7237e66 (patch) | |
tree | c6358574b56ae08505d1f914f97a6c772addae4d /fs/jbd2/commit.c | |
parent | [XFS] don't call xfs_freesb from xfs_unmountfs (diff) | |
download | linux-dev-ff4f038c6bbb27044a84adbcd27bc237d7237e66.tar.xz linux-dev-ff4f038c6bbb27044a84adbcd27bc237d7237e66.zip |
[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>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions