CIFS: Implement caching mechanism for mandatory brlocks
authorPavel Shilovsky <piastry@etersoft.ru>
Sat, 22 Oct 2011 11:33:29 +0000 (15:33 +0400)
committerSteve French <smfrench@gmail.com>
Mon, 24 Oct 2011 17:27:01 +0000 (12:27 -0500)
commit85160e03a79e0d7f9082e61f6a784abc6f402701
tree30e08edf4a022583a582331144d54d26faf2f734
parent42274bb22afc3e877ae5abed787b0b09d7dede52
CIFS: Implement caching mechanism for mandatory brlocks

If we have an oplock and negotiate mandatory locking style we handle
all brlock requests on the client.

Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Acked-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifsglob.h
fs/cifs/file.c