s3:smbd: update comment to correctly reflect MS-SMB2
authorRalph Boehme <slow@samba.org>
Fri, 17 Apr 2015 07:12:59 +0000 (09:12 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 21 Apr 2015 23:04:02 +0000 (01:04 +0200)
Signed-off-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Apr 22 01:04:02 CEST 2015 on sn-devel-104

source3/smbd/smb2_server.c

index 8725ef2e95871afbe2596b23c50438d5e765fcd9..42a809b88a06cbaa43864faec0d279403a1374ff 100644 (file)
@@ -1347,12 +1347,11 @@ NTSTATUS smbd_smb2_request_pending_queue(struct smbd_smb2_request *req,
 
        if (req->in.vector_count > req->current_idx + SMBD_SMB2_NUM_IOV_PER_REQ) {
                /*
-                * We're trying to go async in a compound
-                * request chain.
-                * This is only allowed for opens that
-                * cause an oplock break, otherwise it
-                * is not allowed. See [MS-SMB2].pdf
-                * note <194> on Section 3.3.5.2.7.
+                * We're trying to go async in a compound request
+                * chain. This is only allowed for opens that cause an
+                * oplock break or for the last operation in the
+                * chain, otherwise it is not allowed. See
+                * [MS-SMB2].pdf note <206> on Section 3.3.5.2.7.
                 */
                const uint8_t *inhdr = SMBD_SMB2_IN_HDR_PTR(req);