summaryrefslogtreecommitdiff
path: root/crypto/crypto_wq.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2010-12-14 14:54:30 (GMT)
committerTrond Myklebust <Trond.Myklebust@netapp.com>2010-12-16 17:37:20 (GMT)
commit25a0866cc63281b480cc0c11ddeaccb2ffc57dc9 (patch)
tree97c44600812b98f05f13f0e7a0b8c192ad07dd67 /crypto/crypto_wq.c
parentb3444d164be8f977f4133ef0c6f4a18f2741373f (diff)
downloadlinux-fsl-qoriq-25a0866cc63281b480cc0c11ddeaccb2ffc57dc9.tar.xz
NFS: Introduce new-style XDR encoding functions for NFSv2
We're interested in taking advantage of the safety benefits of xdr_streams. These data structures allow more careful checking for buffer overflow while encoding. More careful type checking is also introduced in the new functions. For efficiency, we also eventually want to be able to pass xdr_streams from call_encode() to all XDR encoding functions, rather than building an xdr_stream in every XDR encoding function in the kernel. To do this means all encoders must be ready to handle a passed-in xdr_stream. The new encoders follow the modern paradigm for XDR encoders: BUG on any error, and always return a zero status code. Static helper functions are left without the "inline" directive. This allows the compiler to choose automatically how to optimize these for size or speed. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Tested-by: J. Bruce Fields <bfields@redhat.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'crypto/crypto_wq.c')
0 files changed, 0 insertions, 0 deletions