forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
73be192b17
commit
06c59bb896
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user