summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/files.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/files.c b/source3/smbd/files.c
index c0ebb9893a..1fe5596acf 100644
--- a/source3/smbd/files.c
+++ b/source3/smbd/files.c
@@ -574,6 +574,9 @@ files_struct *file_fsp(struct smb_request *req, uint16 fid)
fsp = file_fnum(req->sconn, fid);
if (fsp != NULL) {
req->chain_fsp = fsp;
+ if (req->smb2req != NULL) {
+ req->smb2req->compat_chain_fsp = fsp;
+ }
}
return fsp;
}