Browse Source

ocfs2: Remove redundant gotos in ocfs2_mount_volume()

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Tao Ma 16 years ago
parent
commit
06c59bb896
1 changed files with 1 additions and 6 deletions
  1. 1 6
      fs/ocfs2/super.c

+ 1 - 6
fs/ocfs2/super.c

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