diff options
| author | Jun'ichi Nomura <[email protected]> | 2007-07-12 17:27:45 +0100 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-07-12 15:01:08 -0700 |
| commit | 596f138eede0c113aa655937c8be85fc15ccd61c (patch) | |
| tree | efd4e3d67b759b84bb1e72f9d50897d275085f7c /include/linux/debugobjects.h | |
| parent | c95bc206da4bc9838bad826883f8f461a972e441 (diff) | |
dm io: fix panic on large request
bio_alloc_bioset() will return NULL if 'num_vecs' is too large.
Use bio_get_nr_vecs() to get estimation of maximum number.
Cc: [email protected]
Signed-off-by: "Jun'ichi Nomura" <[email protected]>
Signed-off-by: Alasdair G Kergon <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions