diff options
author | Steve French <smfrench@gmail.com> | 2018-04-22 18:24:19 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-04-24 18:06:28 +0300 |
commit | 117e3b7fed552eba96ae0b3b92312fe8c5b0bfdd (patch) | |
tree | e5b7b5a9032e662ebbc91037ea63efa6cf3f5c72 /fs/cifs/smb2pdu.c | |
parent | 6d08b06e67cd117f6992c46611dfb4ce267cd71e (diff) | |
download | linux-117e3b7fed552eba96ae0b3b92312fe8c5b0bfdd.tar.xz |
CIFS: set *resp_buf_type to NO_BUFFER on error
Dan Carpenter had pointed this out a while ago, but the code around
this had changed so wasn't causing any problems since that field
was not used in this error path.
Still, it is cleaner to always initialize this field, so changing
the error path to set it.
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
CC: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smb2pdu.c')
0 files changed, 0 insertions, 0 deletions