diff options
author | Volker Lendecke <vl@samba.org> | 2012-05-07 15:23:29 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-05-17 13:17:22 -0700 |
commit | 2db3ecbc954a8e56d9c83aacd5967817cbcb2394 (patch) | |
tree | 9e66f1b64d342f54dd797672551f7bb5bd0e0af5 /source3/smbd | |
parent | 43296090f93c48aab061c0fd4ed295a0eb64756b (diff) | |
download | samba-2db3ecbc954a8e56d9c83aacd5967817cbcb2394.tar.gz samba-2db3ecbc954a8e56d9c83aacd5967817cbcb2394.tar.bz2 samba-2db3ecbc954a8e56d9c83aacd5967817cbcb2394.zip |
s3: Check for serverid_exists in close_remove_share_mode
Signed-off-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd')
-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 1bac2a1cdf..8e82db39b5 100644 --- a/source3/smbd/close.c +++ b/source3/smbd/close.c @@ -425,6 +425,9 @@ static NTSTATUS close_remove_share_mode(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_file = False; break; } |