diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-09-29 09:58:59 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-10-16 12:44:30 -0400 |
commit | c564178290ee068efb87d81654fc03aa01464a0c (patch) | |
tree | c0448a7e54cba07e970c9241591e1d8c37b684bb /net | |
parent | c4a29c52506519eeb447800d88a22a6f7bce976c (diff) | |
download | linux-stable-c564178290ee068efb87d81654fc03aa01464a0c.tar.gz linux-stable-c564178290ee068efb87d81654fc03aa01464a0c.tar.bz2 linux-stable-c564178290ee068efb87d81654fc03aa01464a0c.zip |
NFSD: Refactor nfsd4_encode_lock_denied()
Use the modern XDR utility functions.
The LOCK and LOCKT encoder functions need to return nfserr_denied
when a lock is denied, but nfsd4_encode_lock4denied() should return
a status code that is consistent with other XDR encoders.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions