fs: cifs: use kmemdup instead of kmalloc + memcpy
authorSilviu-Mihai Popescu <silviupopescu1990@gmail.com>
Mon, 11 Mar 2013 16:22:32 +0000 (18:22 +0200)
committerSteve French <smfrench@gmail.com>
Sun, 5 May 2013 03:08:19 +0000 (22:08 -0500)
This replaces calls to kmalloc followed by memcpy with a single call to
kmemdup. This was found via make coccicheck.

Signed-off-by: Silviu-Mihai Popescu <silviupopescu1990@gmail.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Signed-off-by: Steve French <smfrench@gmail.com>

No differences found