]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
cifs: Use kmemdup in SMB2_ioctl_init()
authorYueHaibing <yuehaibing@huawei.com>
Sat, 1 Jun 2019 03:31:10 +0000 (03:31 +0000)
committerSteve French <stfrench@microsoft.com>
Mon, 8 Jul 2019 03:37:42 +0000 (22:37 -0500)
commitd81f09748dd705c4480c804146e5ee48a13f0c74
treeec41b8c6bfecd6c749e3d0619ad8aa81bf28cd2a
parent0ecfebd2b52404ae0c54a878c872bb93363ada36
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>
fs/cifs/smb2pdu.c