git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1779f6a
)
Removed unneeded set of delete on close in fsp->share_mode.
author
Jeremy Allison
<jra@samba.org>
Wed, 5 Sep 2001 23:34:41 +0000
(23:34 +0000)
committer
Jeremy Allison
<jra@samba.org>
Wed, 5 Sep 2001 23:34:41 +0000
(23:34 +0000)
Jeremy.
source/smbd/trans2.c
patch
|
blob
|
history
diff --git
a/source/smbd/trans2.c
b/source/smbd/trans2.c
index b21cdfdab046fe43ce64526bc8c856da5cbde0cd..cb4ca994f4e994fc04e0b2a377a8b14aac235a7d 100644
(file)
--- a/
source/smbd/trans2.c
+++ b/
source/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.
*/