commit | f7f7c1850eb98da758731ea7edfa830ebefe24cd | [log] [tgz] |
---|---|---|
author | Silviu-Mihai Popescu <silviupopescu1990@gmail.com> | Mon Mar 11 18:22:32 2013 +0200 |
committer | Steve French <smfrench@gmail.com> | Sat May 04 22:08:19 2013 -0500 |
tree | 78e8199747533ec4b78e27fd739ea68ebf13a171 | |
parent | d455b72bdd23a1d7adcbdfb5c1ceabcd7beaf853 [diff] |
fs: cifs: use kmemdup instead of kmalloc + memcpy 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>