NFS: Fix hdrlen calculation in NFSv4's decode_read()
authorChuck Lever <chuck.lever@oracle.com>
Tue, 14 Dec 2010 14:58:01 +0000 (14:58 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 16 Dec 2010 17:37:24 +0000 (12:37 -0500)
commit8111f373600cd43b3198b48b9238e3ad2fd9908d
tree5f4c1751405da033a1987de47b90598f08f3b6c6
parentd8367c504e39528a057a5d7a267b6724f7fdb4b8
NFS: Fix hdrlen calculation in NFSv4's decode_read()

When computing the length of the header, be sure to include the
four octets consumed by "count".

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>
fs/nfs/nfs4xdr.c