diff options
author | Jeremy Allison <jra@samba.org> | 2001-09-05 23:34:41 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-09-05 23:34:41 +0000 |
commit | 7816f79075132350c910f75f9b757477a319bbae (patch) | |
tree | 8287a7bacfb640558b4852aaf6fdc52cb4a04be8 | |
parent | 1779f6a223dad87c3b8451d09b9808b46495a8b6 (diff) | |
download | samba-7816f79075132350c910f75f9b757477a319bbae.tar.gz samba-7816f79075132350c910f75f9b757477a319bbae.tar.xz samba-7816f79075132350c910f75f9b757477a319bbae.zip |
Removed unneeded set of delete on close in fsp->share_mode.
Jeremy.
-rw-r--r-- | source/smbd/trans2.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source/smbd/trans2.c b/source/smbd/trans2.c index b21cdfdab04..cb4ca994f4e 100644 --- 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. */ |