summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.
*/