From: Tao Ma Date: Mon, 18 May 2009 22:47:20 +0000 (+0800) Subject: ocfs2: Remove redundant gotos in ocfs2_mount_volume() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=06c59bb896ce23c56829f6acf667faebd51dd3b8;p=mv-sheeva.git ocfs2: Remove redundant gotos in ocfs2_mount_volume() Signed-off-by: Tao Ma Signed-off-by: Joel Becker --- diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index 86f500c5d63..4e6b8e7c423 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)