]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
ocfs2: Remove redundant gotos in ocfs2_mount_volume()
authorTao Ma <tao.ma@oracle.com>
Mon, 18 May 2009 22:47:20 +0000 (06:47 +0800)
committerJoel Becker <joel.becker@oracle.com>
Thu, 4 Jun 2009 02:20:15 +0000 (19:20 -0700)
Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/super.c

index 86f500c5d63d4e176f5f02b77999ea300cfb2593..4e6b8e7c423d9552386c3489ff154f412dff1319 100644 (file)
@@ -1791,13 +1791,8 @@ static int ocfs2_mount_volume(struct super_block *sb)
        }
 
        status = ocfs2_truncate_log_init(osb);
-       if (status < 0) {
+       if (status < 0)
                mlog_errno(status);
-               goto leave;
-       }
-
-       if (ocfs2_mount_local(osb))
-               goto leave;
 
 leave:
        if (unlock_super)