浏览代码

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 年之前
父节点
当前提交
06c59bb896
共有 1 个文件被更改,包括 1 次插入6 次删除
  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);
-	if (status < 0) {
+	if (status < 0)
 		mlog_errno(status);
-		goto leave;
-	}
-
-	if (ocfs2_mount_local(osb))
-		goto leave;
 
 leave:
 	if (unlock_super)