cifs: Use kmemdup in SMB2_ioctl_init()

Use kmemdup rather than duplicating its implementation

This was reported by coccinelle.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
YueHaibing 2019-06-01 03:31:10 +00:00 • committed by Steve French
commit d81f09748d