From: Stefan Metzmacher Date: Sat, 9 Jun 2012 09:11:26 +0000 (+0200) Subject: Revert "s3:smbd: set req->smb2req->compat_chain_fsp in file_fsp()" X-Git-Tag: samba-4.0.0beta2~246 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c48e307de497298d62f0daa94bd43d91e137b0b9;p=thirdparty%2Fsamba.git Revert "s3:smbd: set req->smb2req->compat_chain_fsp in file_fsp()" This reverts commit c2716a7d5ccf78f9716b703c22e6cf4d4f179656. This is not needed anymore, as we have file_fsp_smb2() now. metze Autobuild-User(master): Stefan Metzmacher Autobuild-Date(master): Sun Jun 10 18:04:21 CEST 2012 on sn-devel-104 --- diff --git a/source3/smbd/files.c b/source3/smbd/files.c index 50ce1b50cab..97db348a019 100644 --- a/source3/smbd/files.c +++ b/source3/smbd/files.c @@ -574,9 +574,6 @@ 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; }