[PATCH] Fix possibly too long write in o2hb_setup_one_bio()
authorJan Kara <jack@suse.cz>
Wed, 10 Oct 2007 14:25:42 +0000 (16:25 +0200)
committerMark Fasheh <mark.fasheh@oracle.com>
Tue, 6 Nov 2007 23:35:35 +0000 (15:35 -0800)
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: Jan Kara <jack@suse.cz>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>

No differences found