diff options
author | Jun'ichi Nomura <j-nomura@ce.jp.nec.com> | 2007-07-12 17:27:45 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-08-09 14:27:42 -0700 |
commit | 3bca2f557175e72b20f76d7489695f4c76ca0bf4 (patch) | |
tree | 75c079f2df9dad2d306e7a7378c3dea7b70d4980 /Documentation/spinlocks.txt | |
parent | 74ff092c258313747791da5d82054027167d1a79 (diff) |
dm io: fix another 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.
Signed-off-by: Junichi Nomura <j-nomura@ce.jp.nec.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/spinlocks.txt')
0 files changed, 0 insertions, 0 deletions