]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[XFS] don't call xfs_freesb from xfs_mountfs failure case
authorChristoph Hellwig <hch@infradead.org>
Tue, 20 May 2008 01:31:05 +0000 (11:31 +1000)
committerNiv Sardi <xaiki@debian.org>
Mon, 28 Jul 2008 06:58:23 +0000 (16:58 +1000)
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>
fs/xfs/xfs_mount.c

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