From 851e60c3825c6d3398973b20374feb1806a22238 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 5 Sep 2001 23:34:41 +0000 Subject: Removed unneeded set of delete on close in fsp->share_mode. Jeremy. (This used to be commit 7816f79075132350c910f75f9b757477a319bbae) --- source3/smbd/trans2.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'source3') 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. */ -- cgit