From: Ralph Boehme Date: Mon, 31 Jul 2017 19:55:54 +0000 (+0200) Subject: smbd: set persistent to false in close_normal_file() X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=954c8a9fd49c1b4282576fc7aaba72c0d7809aa3;p=thirdparty%2Fsamba.git smbd: set persistent to false in close_normal_file() Signed-off-by: Ralph Boehme Reviewed-by: Anoop C S --- diff --git a/source3/smbd/close.c b/source3/smbd/close.c index 2d4a188d669..69479014fd1 100644 --- a/source3/smbd/close.c +++ b/source3/smbd/close.c @@ -920,6 +920,7 @@ static NTSTATUS close_normal_file(struct smb_request *req, files_struct *fsp, * Make sure the handle is not marked as durable anymore */ fsp->op->global->durable = false; + fsp->op->global->persistent = false; } if (fsp->fsp_flags.modified) {