Re: [PATCH v3] lockd: preserve multiple NLM_SHARE grants from the same owner

Chuck Lever <[email protected]>
Newsgroups gmane.linux.nfs
Message-ID <178318668544.3488896.1908137356659270173.b4-ty@b4>
On Fri, 03 Jul 2026 14:38:56 +0800, Oscar Ou wrote:
> When an NFSv3/NLM client issues multiple NLM_SHARE calls from a single
> host for the same (file, owner) tuple, the current implementation
> overwrites the recorded access and deny modes with the latest pair.
> A subsequent NLM_UNSHARE then drops the entire entry, even if other
> grants were implicitly subsumed by the most recent SHARE.  This is
> particularly visible to Windows-style clients that map each open of
> a file to a distinct NLM_SHARE, all carrying the same NLM owner
> handle.  For example:
> 
> [...]

Applied to nfsd-testing, thanks!

[1/1] lockd: preserve multiple NLM_SHARE grants from the same owner
      commit: c8c45fb61a5ff3eb786e4aa434b534b605ab657e

--
Chuck Lever
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.