]> asedeno.scripts.mit.edu Git - linux.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)
commit96164ab2d880c9539989bea68d4790f6fd619b1f
tree21006852808517051131cd386e77a3ebeffda095
parent71992e62b864e490d894184b3e5ae88f0635e524
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