Skip to content

Commit 47ee9d8

Browse files
Guozhonghuatorvalds
authored andcommitted
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>
1 parent 3db409f commit 47ee9d8

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎fs/ocfs2/suballoc.c‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,12 +1147,9 @@ int ocfs2_reserve_cluster_bitmap_bits(struct ocfs2_super *osb,
11471147
GLOBAL_BITMAP_SYSTEM_INODE,
11481148
OCFS2_INVALID_SLOT, NULL,
11491149
ALLOC_NEW_GROUP);
1150-
if (status < 0 && status != -ENOSPC) {
1150+
if (status < 0 && status != -ENOSPC)
11511151
mlog_errno(status);
1152-
goto bail;
1153-
}
11541152

1155-
bail:
11561153
return status;
11571154
}
11581155

0 commit comments

Comments
 (0)