]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Refactor logic to NUL-terminate strings in pages
authorChuck Lever <chuck.lever@oracle.com>
Tue, 21 Sep 2010 20:55:48 +0000 (16:55 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 21 Sep 2010 20:55:48 +0000 (16:55 -0400)
commit2a46bc89883e5c05ac595a9de5e1e7de282d5861
tree1df8cb2cc72a88b4646bf380ff68345415d0222f
parent266b36b16c9d94817d82090f81f910e834551974
SUNRPC: Refactor logic to NUL-terminate strings in pages

Clean up: Introduce a helper to '\0'-terminate XDR strings
that are placed in a page in the page cache.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs2xdr.c
fs/nfs/nfs3xdr.c
fs/nfs/nfs4xdr.c
include/linux/sunrpc/xdr.h
net/sunrpc/xdr.c