commit | fbd35acadd728eac5d94f360c7cd8cbe12a0379f | [log] [tgz] |
---|---|---|
author | Pavel Shilovsky <piastry@etersoft.ru> | Fri Feb 24 15:41:06 2012 +0300 |
committer | Steve French <sfrench@us.ibm.com> | Wed May 16 20:13:35 2012 -0500 |
tree | 3db901833cee1e177aae17cb35e5d57fa998a27a | |
parent | 121b046af54437b084aa0e4be967ae5aed7528b5 [diff] |
CIFS: Move locks to cifsFileInfo structure CIFS brlock cache can be used by several file handles if we have a write-caching lease on the file that is supported by SMB2 protocol. Prepate the code to handle this situation correctly by sorting brlocks by a fid to easily push them in portions when lease break comes. Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>