Skip to content
Commit e4258d55 authored by Stefan Weinhuber's avatar Stefan Weinhuber Committed by Heiko Carstens
Browse files

[S390] dasd: use vmalloc for statistics input buffer



The size of the buffer that is used to store DASD statistics input
strings depends on the user input. If the input string is to large,
the write operation could fail with -ENOMEM. To avoid this, use
vmalloc instead of kmalloc.

Signed-off-by: default avatarStefan Weinhuber <wein@de.ibm.com>
Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
parent 7dd6b334
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment