diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2018-06-01 10:53:03 +1000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-05-31 21:30:51 -0500 |
commit | 0d5a288d25291707bfab128f23585e6d07cf7d42 (patch) | |
tree | b3c82dba1fac4ac165602665dcf5a073911cc245 /fs/cifs/smb2pdu.c | |
parent | 977b6170407894fcdd9bf8ea82dac563abda79e7 (diff) | |
download | lwn-0d5a288d25291707bfab128f23585e6d07cf7d42.tar.gz lwn-0d5a288d25291707bfab128f23585e6d07cf7d42.zip |
cifs: remove struct smb2_oplock_break_rsp
The two structures smb2_oplock_breaq_req/rsp are now basically identical.
Replace this with a single definition of a smb2_oplock_break structure.
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2pdu.c')
-rw-r--r-- | fs/cifs/smb2pdu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c index d6e53d818812..35fbd9261ca0 100644 --- a/fs/cifs/smb2pdu.c +++ b/fs/cifs/smb2pdu.c @@ -3663,7 +3663,7 @@ SMB2_oplock_break(const unsigned int xid, struct cifs_tcon *tcon, __u8 oplock_level) { int rc; - struct smb2_oplock_break_req *req = NULL; + struct smb2_oplock_break *req = NULL; struct cifs_ses *ses = tcon->ses; int flags = CIFS_OBREAK_OP; unsigned int total_len; |