ref: 354a970bc1457f8f2ad70e143c3a767070b5c108
parent: b17ce0d9ae5205fdf1f784774fb0d0575298b083
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Mon Apr 8 10:00:38 EDT 2024
ext4srv: fix ext4_bmap_bit_find_clr returning the wrong bit index
--- a/sys/src/cmd/ext4srv/ext4_bitmap.c
+++ b/sys/src/cmd/ext4srv/ext4_bitmap.c
@@ -42,7 +42,7 @@
}
if (ext4_bmap_is_bit_clr(bmap, i)) {
- *bit_id = sbit;
+ *bit_id = i;
return 0;
}