diff options
author | Pavel Shilovsky <piastryyy@gmail.com> | 2011-01-17 20:15:44 +0300 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-01-19 17:52:29 +0000 |
commit | 12fed00de963433128b5366a21a55808fab2f756 (patch) | |
tree | 2898690f5853027b70eda1bd7f3aeb78fe9af74d /fs/qnx4 | |
parent | c56eb8fb6dccb83d9fe62fd4dc00c834de9bc470 (diff) | |
download | linux-3.10-12fed00de963433128b5366a21a55808fab2f756.tar.gz linux-3.10-12fed00de963433128b5366a21a55808fab2f756.tar.bz2 linux-3.10-12fed00de963433128b5366a21a55808fab2f756.zip |
CIFS: Fix oplock break handling (try #2)
When we get oplock break notification we should set the appropriate
value of OplockLevel field in oplock break acknowledge according to
the oplock level held by the client in this time. As we only can have
level II oplock or no oplock in the case of oplock break, we should be
aware only about clientCanCacheRead field in cifsInodeInfo structure.
Also fix bug connected with wrong interpretation of OplockLevel field
during oplock break notification processing.
Signed-off-by: Pavel Shilovsky <piastryyy@gmail.com>
Cc: <stable@kernel.org>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/qnx4')
0 files changed, 0 insertions, 0 deletions