diff options
author | Tao Ma <tao.ma@oracle.com> | 2009-05-18 18:47:20 -0400 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2009-06-03 22:20:15 -0400 |
commit | 06c59bb896ce23c56829f6acf667faebd51dd3b8 (patch) | |
tree | ff2f51748ca5baddc1b03ce28ac7223815570b81 /fs/ocfs2 | |
parent | 73be192b17e43b6dc4f492dab41d70ab5b9d2908 (diff) |
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>
Diffstat (limited to 'fs/ocfs2')
-rw-r--r-- | fs/ocfs2/super.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index 86f500c5d63d..4e6b8e7c423d 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c | |||
@@ -1791,13 +1791,8 @@ static int ocfs2_mount_volume(struct super_block *sb) | |||
1791 | } | 1791 | } |
1792 | 1792 | ||
1793 | status = ocfs2_truncate_log_init(osb); | 1793 | status = ocfs2_truncate_log_init(osb); |
1794 | if (status < 0) { | 1794 | if (status < 0) |
1795 | mlog_errno(status); | 1795 | mlog_errno(status); |
1796 | goto leave; | ||
1797 | } | ||
1798 | |||
1799 | if (ocfs2_mount_local(osb)) | ||
1800 | goto leave; | ||
1801 | 1796 | ||
1802 | leave: | 1797 | leave: |
1803 | if (unlock_super) | 1798 | if (unlock_super) |