]> git.baikalelectronics.ru Git - kernel.git/commit
CIFS: Move locks to cifsFileInfo structure
authorPavel Shilovsky <piastry@etersoft.ru>
Fri, 24 Feb 2012 12:41:06 +0000 (15:41 +0300)
committerSteve French <sfrench@us.ibm.com>
Thu, 17 May 2012 01:13:35 +0000 (20:13 -0500)
commit88439f3a15562fc25dca089e4ef0540807dd60c7
tree3db901833cee1e177aae17cb35e5d57fa998a27a
parent71bb70cfba0cd308be89a7f56286911cb41081a3
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>
fs/cifs/cifsfs.c
fs/cifs/cifsglob.h
fs/cifs/file.c