[cifs-protocol] SMBv1 multiple lock cancel behavior

Steven Danneman steven.danneman at isilon.com
Thu Dec 3 15:56:48 MST 2009



I've got yet another byte range locking question.


MS-CIFS (v0.1) states in section


"If the Locks vector contains one and only one entry
(NumberOfRequestedLocks ==

1) and TypeOfLock has the CANCEL_LOCK bit set, the client is requesting
that the

server cancel a previously requested but unacknowledged lock."


My newly pushed smbtorture4 test, part of RAW-LOCK-ASYNC, shows a W2K8R2
server accepting a request with the CANCEL_LOCK bit set that contains
multiple entries in the lock array, ie NumberOfRequestedLocks == 2.  The
server then seems to cancel the first outstanding lock and return


More information about the cifs-protocol mailing list