In count_free function, bh->b_size = 4096, cause ((numbits - (numblocks - 1) bh->b_size 8) / 16) 2 => 2305843009213672946, so bh->b_data[j] visit novalid memory.
Use linux 4.10.15 minix countfree code to replace the countfree* functions. The new code is efficient and strong.
In count_free function, bh->b_size = 4096, cause ((numbits - (numblocks - 1) bh->b_size 8) / 16) 2 => 2305843009213672946, so bh->b_data[j] visit novalid memory. Use linux 4.10.15 minix countfree code to replace the countfree* functions. The new code is efficient and strong.