summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-09-05 23:34:41 +0000
committerJeremy Allison <jra@samba.org>2001-09-05 23:34:41 +0000
commit851e60c3825c6d3398973b20374feb1806a22238 (patch)
tree196184a417c1084059ab957a00a4e36484fcc276 /source3
parent11f0402a74640c6f32ae18c58b60d9d57932deab (diff)
downloadsamba-851e60c3825c6d3398973b20374feb1806a22238.tar.gz
samba-851e60c3825c6d3398973b20374feb1806a22238.tar.bz2
samba-851e60c3825c6d3398973b20374feb1806a22238.zip
Removed unneeded set of delete on close in fsp->share_mode.
Jeremy. (This used to be commit 7816f79075132350c910f75f9b757477a319bbae)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/trans2.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index b21cdfdab0..cb4ca994f4 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -2001,13 +2001,6 @@ static int call_trans2setfilepathinfo(connection_struct *conn,
return ERROR_DOS(ERRDOS,ERRnoaccess);
}
- /* we have to also set the delete flag in our fsp */
- if (delete_on_close) {
- fsp->share_mode |= DELETE_ON_CLOSE_FLAG;
- } else {
- fsp->share_mode &= ~DELETE_ON_CLOSE_FLAG;
- }
-
/*
* Release the lock.
*/