aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_mount.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2008-05-19 21:31:05 -0400
committerNiv Sardi <xaiki@debian.org>2008-07-28 02:58:23 -0400
commitaf15b8953a60d336aade96a2c162abffdba75ec9 (patch)
treeb4f6052bfc315655ea2004bfdb3df2fb4e6b5a6d /fs/xfs/xfs_mount.c
parentf8f15e42b408edce6ca9e9d8bd0d0e2078a39efd (diff)
[XFS] don't call xfs_freesb from xfs_mountfs failure case
Freeing of the superblock is already handled in the caller, and that is more symmetric with the mount path, too. SGI-PV: 981951 SGI-Modid: xfs-linux-melb:xfs-kern:31192a Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: David Chinner <dgc@sgi.com> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_mount.c')
-rw-r--r--fs/xfs/xfs_mount.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_mount.c b/fs/xfs/xfs_mount.c
index fca3f8af674..ee5df5fae82 100644
--- a/fs/xfs/xfs_mount.c
+++ b/fs/xfs/xfs_mount.c
@@ -1268,7 +1268,6 @@ xfs_mountfs(
1268 error1: 1268 error1:
1269 if (uuid_mounted) 1269 if (uuid_mounted)
1270 uuid_table_remove(&mp->m_sb.sb_uuid); 1270 uuid_table_remove(&mp->m_sb.sb_uuid);
1271 xfs_freesb(mp);
1272 return error; 1271 return error;
1273} 1272}
1274 1273