]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: set persistent to false in close_normal_file()
authorRalph Boehme <slow@samba.org>
Mon, 31 Jul 2017 19:55:54 +0000 (21:55 +0200)
committerRalph Boehme <slow@samba.org>
Fri, 17 Jul 2026 10:18:36 +0000 (10:18 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
source3/smbd/close.c

index 2d4a188d669c530dd5eed0df7a53b7f1e576d8df..69479014fd1b6d4eba5165b1175e9f7d39035dbe 100644 (file)
@@ -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) {