diff options
author | Guozhonghua <guozhonghua@h3c.com> | 2017-11-15 20:31:55 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-15 21:21:01 -0500 |
commit | 47ee9d89f04ccce34b6f076258d96d0ba3f5daa9 (patch) | |
tree | 63ca83a59da9fc7c384805d250bc7ac031b3e002 | |
parent | 3db409fa24f6dbeb60211dd829954102845c4e82 (diff) |
ocfs2: remove unneeded goto in ocfs2_reserve_cluster_bitmap_bits()
Link: http://lkml.kernel.org/r/71604351584F6A4EBAE558C676F37CA4F3CDE3A9@H3CMLB14-EX.srv.huawei-3com.com
Signed-off-by: guozhonghua <guozhonghua@h3c.com>
Cc: Mark Fasheh <mfasheh@versity.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Joseph Qi <jiangqi903@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | fs/ocfs2/suballoc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/ocfs2/suballoc.c b/fs/ocfs2/suballoc.c index 71f22c8fbffd..9f0b95abc09f 100644 --- a/fs/ocfs2/suballoc.c +++ b/fs/ocfs2/suballoc.c | |||
@@ -1147,12 +1147,9 @@ int ocfs2_reserve_cluster_bitmap_bits(struct ocfs2_super *osb, | |||
1147 | GLOBAL_BITMAP_SYSTEM_INODE, | 1147 | GLOBAL_BITMAP_SYSTEM_INODE, |
1148 | OCFS2_INVALID_SLOT, NULL, | 1148 | OCFS2_INVALID_SLOT, NULL, |
1149 | ALLOC_NEW_GROUP); | 1149 | ALLOC_NEW_GROUP); |
1150 | if (status < 0 && status != -ENOSPC) { | 1150 | if (status < 0 && status != -ENOSPC) |
1151 | mlog_errno(status); | 1151 | mlog_errno(status); |
1152 | goto bail; | ||
1153 | } | ||
1154 | 1152 | ||
1155 | bail: | ||
1156 | return status; | 1153 | return status; |
1157 | } | 1154 | } |
1158 | 1155 | ||