diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/close.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/close.c b/source3/smbd/close.c index 8e82db39b5..e46e1aec89 100644 --- a/source3/smbd/close.c +++ b/source3/smbd/close.c @@ -1078,6 +1078,9 @@ static NTSTATUS close_directory(struct smb_request *req, files_struct *fsp, if (fsp->posix_open && (e->flags & SHARE_MODE_FLAG_POSIX_OPEN)) { continue; } + if (share_mode_stale_pid(lck->data, i)) { + continue; + } delete_dir = False; break; } |