| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 3/10] don't call xfs_freesb from xfs_mountfs failure case |
| From: | Christoph Hellwig <hch@xxxxxx> |
| Date: | Fri, 2 May 2008 00:01:00 +0200 |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.3.28i |
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@xxxxxx>
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;
}
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 7/10] kill xfs_mount_init, Christoph Hellwig |
|---|---|
| Next by Date: | [PATCH 5/10] add xfs_setup_devices helper, Christoph Hellwig |
| Previous by Thread: | [PATCH 7/10] kill xfs_mount_init, Christoph Hellwig |
| Next by Thread: | [PATCH 5/10] add xfs_setup_devices helper, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |