NFS: decode_dirent should use an xdr_stream
authorBryan Schumaker <bjschuma@netapp.com>
Wed, 20 Oct 2010 19:44:29 +0000 (15:44 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 23 Oct 2010 19:27:33 +0000 (15:27 -0400)
commitbabddc72a9468884ce1a23db3c3d54b0afa299f0
treeb176e5795b47c73c47543acdc546da0c38619ddc
parentba8e452a4fe64a51b74d43761e14d99f0666cc45
NFS: decode_dirent should use an xdr_stream

Convert nfs*xdr.c to use an xdr stream in decode_dirent.  This will prevent a
kernel oops that has been occuring when reading a vmapped page.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/dir.c
fs/nfs/internal.h
fs/nfs/nfs2xdr.c
fs/nfs/nfs3xdr.c
fs/nfs/nfs4_fs.h
fs/nfs/nfs4xdr.c
include/linux/nfs_xdr.h