We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4c2416 commit e75ed71Copy full SHA for e75ed71
fs/ocfs2/suballoc.c
@@ -2438,6 +2438,8 @@ static int ocfs2_block_group_clear_bits(handle_t *handle,
2438
}
2439
le16_add_cpu(&bg->bg_free_bits_count, num_bits);
2440
if (le16_to_cpu(bg->bg_free_bits_count) > le16_to_cpu(bg->bg_bits)) {
2441
+ if (undo_fn)
2442
+ jbd_unlock_bh_state(group_bh);
2443
return ocfs2_error(alloc_inode->i_sb, "Group descriptor # %llu has bit count %u but claims %u are freed. num_bits %d\n",
2444
(unsigned long long)le64_to_cpu(bg->bg_blkno),
2445
le16_to_cpu(bg->bg_bits),
0 commit comments