mirror of
https://github.com/torvalds/linux.git
synced 2026-12-05 12:54:27 +00:00
Fix two bugs in dirty page logging: When counting pages we should increase address by 1 instead of VHOST_PAGE_SIZE. Make log_write() correctly process requests that cross pages with write_address not starting at page boundary. Reported-by: Jason Wang <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>