]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit5760b159d7913778b766bb2ccca769b5d863a104
treecf35117281896022e70a4fd5655ccc2f0f8bfcf3
parent1c700688992a3e5ffcce6719b586b1efe2fa9d33
[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: Jan Kara <jack@suse.cz>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/cluster/heartbeat.c