xfs
[Top] [All Lists]

[PATCH 3/10] don't call xfs_freesb from xfs_mountfs failure case

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>
  • [PATCH 3/10] don't call xfs_freesb from xfs_mountfs failure case, Christoph Hellwig <=