]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
lockd: Add LOCKD_SHARE_SVID constant for DOS sharing mode
authorChuck Lever <chuck.lever@oracle.com>
Tue, 17 Feb 2026 22:07:19 +0000 (17:07 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 30 Mar 2026 01:25:09 +0000 (21:25 -0400)
commit515788fa985fee596ddc9f8cd1e295e01883bb9e
tree1d567639874748f855de941f20de0f01195d2fb6
parentb201ce7af2a28d8d6c43a3b5bd099a44f98c1c3e
lockd: Add LOCKD_SHARE_SVID constant for DOS sharing mode

Replace the magic value ~(u32)0 with a named constant. This value
is used as a synthetic svid when looking up lockowners for DOS
share operations, which have no real process ID associated with
them.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/lockd/share.h
fs/lockd/svc4proc.c
fs/lockd/xdr.c