tytso / e2fsprogs

Ext2/3/4 file system utilities
http://ext4.wiki.kernel.org
373 stars 219 forks source link

badblocks: Fix wrong corruption block record in write mode #142

Open wangym5106 opened 1 year ago

wangym5106 commented 1 year ago

Currently in write mode test, the compare happened after currently_testing change, caused the recorded block number of CORRUPTION_ERROR is wrong. This PR fix this issue