don't call xfs_freesb from xfs_mountfs failure case
PATCH 3/10 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.
Signed-off-by Christoph Hellwig <[email protected]>
fs/xfs/xfs_mount.c +0 -1
@@ -1272,7 +1272,6 @@ xfs_mountfs( error1:if (uuid_mounted)uuid_table_remove (&mp->m_sb.sb_uuid); -xfs_freesb (mp);return error; }