cifs: add SMB2_ioctl_init/free helpers to be used with compounding
authorRonnie Sahlberg <lsahlber@redhat.com>
Wed, 13 Mar 2019 04:37:48 +0000 (14:37 +1000)
committerSteve French <stfrench@microsoft.com>
Fri, 15 Mar 2019 00:32:35 +0000 (19:32 -0500)
commitccdc77a3054afb851473e43f4d60890263cd22e9
tree5fc10b1b23058b430f75c8da21cb35ebe2ef1bca
parent8191576a1249763b246164b323003bec084cc8a2
cifs: add SMB2_ioctl_init/free helpers to be used with compounding

Define an _init() and a _free() function for SMB2_init so that we will
be able to use it with compounds.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2pdu.c
fs/cifs/smb2proto.h