diff options
Diffstat (limited to 'source3/smbd/close.c')
-rw-r--r-- | source3/smbd/close.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/close.c b/source3/smbd/close.c index 2fb8ec2bb5..e484fa8e01 100644 --- a/source3/smbd/close.c +++ b/source3/smbd/close.c @@ -134,6 +134,10 @@ static NTSTATUS close_filestruct(files_struct *fsp) static void notify_deferred_opens(struct share_mode_lock *lck) { int i; + + if (!should_notify_deferred_opens()) { + return; + } for (i=0; i<lck->num_share_modes; i++) { struct share_mode_entry *e = &lck->share_modes[i]; |