]> git.ipfire.org Git - thirdparty/samba.git/commit
s3/locking: update share_entry_stale_pid() check for Persistent Handles
authorRalph Boehme <slow@samba.org>
Tue, 17 Sep 2019 16:47:52 +0000 (09:47 -0700)
committerRalph Boehme <slow@samba.org>
Fri, 17 Jul 2026 10:18:36 +0000 (10:18 +0000)
commitc7d49f5e1bb497fc056d0ea56fca3dddfb864bc9
treef2bc4a017567941bfdddd44f433f3475566f2377
parentc4e912d26b2b304f77bc8ee5f5f575ac85d4d327
s3/locking: update share_entry_stale_pid() check for Persistent Handles

Disconnected Persistent Handles are NOT "stale" and must be preserved. But while
we're at it to check if the handle is connected or not, remember this
information so we can check this later in the open code.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
source3/locking/locking.c