Skip to content
Commit bc7e97cb authored by Jan Kara's avatar Jan Kara Committed by Mark Fasheh
Browse files

[PATCH] Fix possibly too long write in o2hb_setup_one_bio()



We should subtract start of our IO from PAGE_CACHE_SIZE to get the right
length of the write we want to perform.

Signed-off-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarMark Fasheh <mark.fasheh@oracle.com>
parent 4e9563fd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment