NFSv4: Don't decode fs_locations if we didn't ask for them...
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 30 Jan 2012 20:43:56 +0000 (15:43 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 1 Feb 2012 00:28:23 +0000 (19:28 -0500)
commit8b7e3f49ddda0d43c5bc8de404c1dc7e7a13cc80
tree984c2ad953660725d30340bd657c85a33e592658
parentc15c928f36a2710746c2b945067215f436f45544
NFSv4: Don't decode fs_locations if we didn't ask for them...

Currently, the server can potentially cause us to Oops by returning an
fs_locations request that we didn't actually request.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4xdr.c