]> git.baikalelectronics.ru Git - kernel.git/commit
staging: lustre: llite: kzalloc/copy_to_user to memdup_user
authorTobin C Harding <me@tobin.cc>
Mon, 23 May 2016 00:14:22 +0000 (10:14 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jun 2016 05:38:19 +0000 (22:38 -0700)
commita0be0fc322eb17b783653869c75959f86f41ad14
treeb92f23f3d53300118e51d441e05ea96520ad90c6
parent35fd74d9b7d72b227a0425b683172785e1ac46b2
staging: lustre: llite: kzalloc/copy_to_user to memdup_user

kzalloc call followed by copy_to_user can be replaced by call to memdup_user.

Signed-off-by: Tobin C Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/dir.c