diff options
Diffstat (limited to 'fs/ocfs2/slot_map.c')
-rw-r--r-- | fs/ocfs2/slot_map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ocfs2/slot_map.c b/fs/ocfs2/slot_map.c index d5493e361a38..e78a203d44c8 100644 --- a/fs/ocfs2/slot_map.c +++ b/fs/ocfs2/slot_map.c | |||
@@ -427,7 +427,7 @@ int ocfs2_init_slot_info(struct ocfs2_super *osb) | |||
427 | if (!si) { | 427 | if (!si) { |
428 | status = -ENOMEM; | 428 | status = -ENOMEM; |
429 | mlog_errno(status); | 429 | mlog_errno(status); |
430 | goto bail; | 430 | return status; |
431 | } | 431 | } |
432 | 432 | ||
433 | si->si_extended = ocfs2_uses_extended_slot_map(osb); | 433 | si->si_extended = ocfs2_uses_extended_slot_map(osb); |
@@ -452,7 +452,7 @@ int ocfs2_init_slot_info(struct ocfs2_super *osb) | |||
452 | 452 | ||
453 | osb->slot_info = (struct ocfs2_slot_info *)si; | 453 | osb->slot_info = (struct ocfs2_slot_info *)si; |
454 | bail: | 454 | bail: |
455 | if (status < 0 && si) | 455 | if (status < 0) |
456 | __ocfs2_free_slot_info(si); | 456 | __ocfs2_free_slot_info(si); |
457 | 457 | ||
458 | return status; | 458 | return status; |