diff options
Diffstat (limited to 'source3/locking')
-rw-r--r-- | source3/locking/locking.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c index cff9025e22d..e9c303907b8 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -1174,9 +1174,7 @@ bool set_delete_on_close(files_struct *fsp, bool delete_on_close, nt_tok, tok); } else { - set_delete_on_close_lck(fsp, lck, false, - NULL, - NULL); + reset_delete_on_close_lck(fsp, lck); } if (fsp->is_directory) { |