diff options
| author | Jeff Layton <jlayton@kernel.org> | 2025-10-23 09:12:39 -0400 |
|---|---|---|
| committer | Chuck Lever <chuck.lever@oracle.com> | 2025-11-20 16:29:35 -0500 |
| commit | 898f94465205e33295c29333a82a249b8f90aa74 (patch) | |
| tree | d6ca447fd3f1fcb76361d9326f8783258a726bd5 /tools/lib/python/kdoc/python_version.py | |
| parent | f6dcad1d748e192d8cd01d76736131ae913787af (diff) | |
lockd: don't allow locking on reexported NFSv2/3
Since commit 9254c8ae9b81 ("nfsd: disallow file locking and delegations
for NFSv4 reexport"), file locking when reexporting an NFS mount via
NFSv4 is expressly prohibited by nfsd. Do the same in lockd:
Add a new nlmsvc_file_cannot_lock() helper that will test whether file
locking is allowed for a given file, and return nlm_lck_denied_nolocks
if it isn't.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Tested-by: Olga Kornievskaia <okorniev@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
