sysprog21 / simplefs

A simple native file system for Linux kernel
Other
362 stars 91 forks source link

write_bfree_blocks function free error #19

Closed linuxgcc closed 4 months ago

linuxgcc commented 2 years ago

file : mkfs.c fucntion: write_bfree_blocks line : bfree[i] = htole64(line) block arr is out of bounds.

jserv commented 2 years ago

Can you please send pull request(s) which would address the above issue?

lightmelodies commented 10 months ago

If I understand correctly, the first block can only contain 4096 * 8 bits,which is not enough for larger block device (nr_used > 32768).

jserv commented 4 months ago

This task was considered invalid.