diff options
author | 2023-09-25 09:28:10 -0400 | |
---|---|---|
committer | 2023-10-16 12:44:29 -0400 | |
commit | 85dbc978b33be6f5e2e06e34b5219d730d5f9aa4 (patch) | |
tree | 7142bc7a7c5ddf061a8aa95a347dbadc5e04dbe3 /fs/nfsd/xdr4.h | |
parent | NFSD: Clean up nfsd4_encode_layoutcommit() (diff) | |
download | linux-85dbc978b33be6f5e2e06e34b5219d730d5f9aa4.tar.gz linux-85dbc978b33be6f5e2e06e34b5219d730d5f9aa4.tar.bz2 linux-85dbc978b33be6f5e2e06e34b5219d730d5f9aa4.zip |
NFSD: Clean up nfsd4_encode_layoutreturn()
Adopt the use of conventional XDR utility functions. Restructure
the encoder to better align with the XDR definition of the result.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/xdr4.h')
-rw-r--r-- | fs/nfsd/xdr4.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h index 1b393f1734e4..aba07d5378fc 100644 --- a/fs/nfsd/xdr4.h +++ b/fs/nfsd/xdr4.h @@ -630,7 +630,7 @@ struct nfsd4_layoutreturn { u32 lrf_body_len; /* request */ void *lrf_body; /* request */ stateid_t lr_sid; /* request/response */ - u32 lrs_present; /* response */ + bool lrs_present; /* response */ }; struct nfsd4_fallocate { |