summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTao Ma <tao.ma@oracle.com>2009-05-18 22:47:20 (GMT)
committerJoel Becker <joel.becker@oracle.com>2009-06-04 02:20:15 (GMT)
commit06c59bb896ce23c56829f6acf667faebd51dd3b8 (patch)
treeff2f51748ca5baddc1b03ce28ac7223815570b81
parent73be192b17e43b6dc4f492dab41d70ab5b9d2908 (diff)
downloadlinux-fsl-qoriq-06c59bb896ce23c56829f6acf667faebd51dd3b8.tar.xz
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>
-rw-r--r--fs/ocfs2/super.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c
index 86f500c..4e6b8e7 100644
--- a/fs/ocfs2/super.c
+++ b/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)