Re: [PATCH v7.0.2] lockd: fix TEST handling when not all permissions are available.

Sasha Levin <[email protected]>
Newsgroups gmane.linux.nfs,gmane.linux.kernel.stable
Message-ID <[email protected]>
> The F_GETLK fcntl can work with either read access or write access or
> both.  It can query F_RDLCK and F_WRLCK locks in either case.
>
> However lockd currently treats F_GETLK similar to F_SETLK in that read
> access is required to query an F_RDLCK lock and write access is required
> to query a F_WRLCK lock.

Queued for 7.0, thanks.

-- 
Thanks,
Sasha
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.