Commit af15b895 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Niv Sardi
Browse files

[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: default avatarChristoph Hellwig <hch@infradead.org>
Signed-off-by: default avatarDavid Chinner <dgc@sgi.com>
Signed-off-by: default avatarLachlan McIlroy <lachlan@sgi.com>
parent f8f15e42
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1268,7 +1268,6 @@ xfs_mountfs(
 error1:
	if (uuid_mounted)
		uuid_table_remove(&mp->m_sb.sb_uuid);
	xfs_freesb(mp);
	return error;
}