summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-06-09 11:09:25 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-09 15:02:47 +0200
commit163207a28eb81f844070c5e87b6c0061d2fcc702 (patch)
tree399be2d97ac16393da6d8f833ce841450c8a9d50
parent3dbfb2511186200a65efd407c0093e19a9e456ff (diff)
downloadsamba-163207a28eb81f844070c5e87b6c0061d2fcc702.tar.gz
samba-163207a28eb81f844070c5e87b6c0061d2fcc702.tar.bz2
samba-163207a28eb81f844070c5e87b6c0061d2fcc702.zip
s3:smbd: set req->smb2req->compat_chain_fsp in file_fsp()
metze
-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;
}