Removed unneeded set of delete on close in fsp->share_mode.
authorJeremy Allison <jra@samba.org>
Wed, 5 Sep 2001 23:34:41 +0000 (23:34 +0000)
committerJeremy Allison <jra@samba.org>
Wed, 5 Sep 2001 23:34:41 +0000 (23:34 +0000)
Jeremy.

source/smbd/trans2.c

index b21cdfdab046fe43ce64526bc8c856da5cbde0cd..cb4ca994f4e994fc04e0b2a377a8b14aac235a7d 100644 (file)
@@ -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.
                         */