public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 3/10] don't call xfs_freesb from xfs_mountfs failure case
@ 2008-05-01 22:01 Christoph Hellwig
  0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2008-05-01 22:01 UTC (permalink / raw)
  To: xfs

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 <hch@lst.de>

Index: linux-2.6-xfs/fs/xfs/xfs_mount.c
===================================================================
--- linux-2.6-xfs.orig/fs/xfs/xfs_mount.c	2008-05-01 21:20:47.000000000 +0200
+++ linux-2.6-xfs/fs/xfs/xfs_mount.c	2008-05-01 21:21:04.000000000 +0200
@@ -1272,7 +1272,6 @@ xfs_mountfs(
  error1:
 	if (uuid_mounted)
 		uuid_table_remove(&mp->m_sb.sb_uuid);
-	xfs_freesb(mp);
 	return error;
 }
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-01 22:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-01 22:01 [PATCH 3/10] don't call xfs_freesb from xfs_mountfs failure case Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox