summaryrefslogtreecommitdiff
path: root/source3/smbd/close.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/close.c')
-rw-r--r--source3/smbd/close.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/close.c b/source3/smbd/close.c
index 4798d62db8..9cb191c4e2 100644
--- a/source3/smbd/close.c
+++ b/source3/smbd/close.c
@@ -196,6 +196,7 @@ static int close_normal_file(files_struct *fsp, BOOL normal_close)
DEBUG(5,("close_file: file %s. Delete on close was set and unlink failed \
with error %s\n", fsp->fsp_name, strerror(errno) ));
}
+ process_pending_change_notify_queue((time_t)0);
}
unlock_share_entry_fsp(fsp);
@@ -262,6 +263,7 @@ static int close_directory(files_struct *fsp, BOOL normal_close)
if(ok)
remove_pending_change_notify_requests_by_filename(fsp);
+ process_pending_change_notify_queue((time_t)0);
}
/*