Searched hist:f00b16ad665a9b489d46f612679181f3f914917b (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/md/ |
H A D | dm-io.c | diff f00b16ad665a9b489d46f612679181f3f914917b Fri Dec 08 04:41:01 CST 2006 Heinz Mauelshagen <hjm@redhat.com> [PATCH] dm io: fix bi_max_vecs
The existing code allocates an extra slot in bi_io_vec[] and uses it to store the region number.
This patch hides the extra slot from bio_add_page() so the region number can't get overwritten.
Also remove a hard-coded SECTOR_SHIFT and fix a typo in a comment.
Signed-off-by: Heinz Mauelshagen <hjm@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com> Cc: Milan Broz <mbroz@redhat.com> Cc: dm-devel@redhat.com Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|