diff options
| author | Heinz Mauelshagen <[email protected]> | 2006-12-08 02:41:01 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-12-08 08:29:08 -0800 |
| commit | f00b16ad665a9b489d46f612679181f3f914917b (patch) | |
| tree | fc39bc1e04e063f8c5eda29f79d33a3194bb56fc /include/linux/debugobjects.h | |
| parent | 5cd307c5655c0b76d563b5f3f911742a32746841 (diff) | |
[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 <[email protected]>
Signed-off-by: Alasdair G Kergon <[email protected]>
Cc: Milan Broz <[email protected]>
Cc: [email protected]
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions