diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2012-09-18 19:20:33 -0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-09-24 22:46:30 -0400 |
commit | 2e44b2887882134abf353b28867b82645e9f0856 (patch) | |
tree | 963236eb542e26b046960f72f9ec47ae8e339a76 /fs/cifs/connect.c | |
parent | d324f08d6a87149597817f4496ef0f7ac185e8da (diff) |
CIFS: Process oplocks for SMB2
Signed-off-by: Pavel Shilovsky <piastryyy@gmail.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r-- | fs/cifs/connect.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index c31b30b572e0..549409b1c776 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -819,6 +819,10 @@ standard_receive3(struct TCP_Server_Info *server, struct mid_q_entry *mid) | |||
819 | cifs_dump_mem("Bad SMB: ", buf, | 819 | cifs_dump_mem("Bad SMB: ", buf, |
820 | min_t(unsigned int, server->total_read, 48)); | 820 | min_t(unsigned int, server->total_read, 48)); |
821 | 821 | ||
822 | if (server->ops->is_status_pending && | ||
823 | server->ops->is_status_pending(buf, server, length)) | ||
824 | return -1; | ||
825 | |||
822 | if (!mid) | 826 | if (!mid) |
823 | return length; | 827 | return length; |
824 | 828 | ||