Commit 9993a66
committed
NFSD: Clean up nfs4svc_encode_compoundres()
In today's Linux NFS server implementation, the NFS dispatcher
initializes each XDR result stream, and the NFSv4 .pc_func and
.pc_encode methods all use xdr_stream-based encoding. This keeps
rq_res.len automatically updated. There is no longer a need for
the WARN_ON_ONCE() check in nfs4svc_encode_compoundres().
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>1 parent b8ab2a6 commit 9993a66
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5459 | 5459 | | |
5460 | 5460 | | |
5461 | 5461 | | |
5462 | | - | |
5463 | 5462 | | |
5464 | 5463 | | |
5465 | | - | |
5466 | | - | |
5467 | | - | |
5468 | 5464 | | |
5469 | 5465 | | |
5470 | 5466 | | |
| |||
0 commit comments