cpqarray: check put_user() result
authorKulikov Vasiliy <segooon@gmail.com>
Tue, 3 Aug 2010 10:52:55 +0000 (12:52 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Sat, 7 Aug 2010 16:53:03 +0000 (18:53 +0200)
commitf6c4c8e19a087dae7dc651ccbd1ff8b843eedee2
tree49ef8d3044def969cd6bac6a3ef9e09d19a18803
parent08852b6d6c40f387f2b75e199e2ca1df68970f4c
cpqarray: check put_user() result

put_user() may fail, if so return -EFAULT.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Acked-by: Mike Miller <mike.miller@hp.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/block/cpqarray.c