commit | 2e44b2887882134abf353b28867b82645e9f0856 | [log] [tgz] |
---|---|---|
author | Pavel Shilovsky <pshilovsky@samba.org> | Tue Sep 18 16:20:33 2012 -0700 |
committer | Steve French <smfrench@gmail.com> | Mon Sep 24 21:46:30 2012 -0500 |
tree | 963236eb542e26b046960f72f9ec47ae8e339a76 | |
parent | d324f08d6a87149597817f4496ef0f7ac185e8da [diff] [blame] |
CIFS: Process oplocks for SMB2 Signed-off-by: Pavel Shilovsky <piastryyy@gmail.com> Signed-off-by: Steve French <smfrench@gmail.com>
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index c31b30b..549409b1 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c
@@ -819,6 +819,10 @@ cifs_dump_mem("Bad SMB: ", buf, min_t(unsigned int, server->total_read, 48)); + if (server->ops->is_status_pending && + server->ops->is_status_pending(buf, server, length)) + return -1; + if (!mid) return length;