Browse Source

[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>
Christoph Hellwig 17 years ago
parent
commit
af15b8953a
1 changed files with 0 additions and 1 deletions
  1. 0 1
      fs/xfs/xfs_mount.c

+ 0 - 1
fs/xfs/xfs_mount.c

@@ -1268,7 +1268,6 @@ xfs_mountfs(
  error1:
  error1:
 	if (uuid_mounted)
 	if (uuid_mounted)
 		uuid_table_remove(&mp->m_sb.sb_uuid);
 		uuid_table_remove(&mp->m_sb.sb_uuid);
-	xfs_freesb(mp);
 	return error;
 	return error;
 }
 }