wr_buf was hardcoded with blocksize 512, resulting in incorrect behavior for larger block sizes, and buffer overflow. Use the block_size global. Signed-off-by: Khazhismel Kumykov <khazhy@google.com>
4.9 KiB
4.9 KiB