[PATCH] s390: random values in result of BIODASDINFO2
authorHorst Hummel <horst.hummel@de.ibm.com>
Fri, 24 Mar 2006 11:15:24 +0000 (03:15 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 24 Mar 2006 15:33:17 +0000 (07:33 -0800)
commit554a826e0a29f1a88e5a5332f0718c059885ec17
tree3251034cf7373c9d61f7107c1a52c0c9bf8f8afc
parentd0b2eaa374afd10960a507a3f2ce2f24b85826e4
[PATCH] s390: random values in result of BIODASDINFO2

Use kzalloc to get a zeroed buffer for the structure returned to user space by
the BIODASDINFO2 ioctl.  Not all fields are set up, e.g.  the read_devno is
missing.

Signed-off-by: Horst Hummel <horst.hummel@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/s390/block/dasd_ioctl.c