]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: store the leaseKey in the fid on SMB2_open
authorRonnie Sahlberg <lsahlber@redhat.com>
Thu, 26 Apr 2018 14:10:18 +0000 (08:10 -0600)
committerSteve French <stfrench@microsoft.com>
Sun, 27 May 2018 22:56:35 +0000 (17:56 -0500)
commit33e9151615b6718f04b6ada305d3586b550ce770
tree21006852808517051131cd386e77a3ebeffda095
parent84383640009942e6956db235ef46b32e0f76e354
cifs: store the leaseKey in the fid on SMB2_open

In SMB2_open(), if we got a lease we need to store this in the fid structure
or else we will never be able to map a lease break back to which file/fid
it applies to.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifsglob.h
fs/cifs/smb2ops.c
fs/cifs/smb2pdu.c