diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-12-04 17:39:23 -0500 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2014-04-02 00:58:39 +0100 |
commit | 5144a343d0579973a631112decba5d0ced76e5c7 (patch) | |
tree | f209ce1ebe6ca67aa74a2f1545079a67085cec47 /security | |
parent | 2d6daf8d9db516be660c2e1646925c42eff942e0 (diff) | |
download | linux-stable-5144a343d0579973a631112decba5d0ced76e5c7.tar.gz linux-stable-5144a343d0579973a631112decba5d0ced76e5c7.tar.bz2 linux-stable-5144a343d0579973a631112decba5d0ced76e5c7.zip |
NFSv4: OPEN must handle the NFS4ERR_IO return code correctly
commit c7848f69ec4a8c03732cde5c949bd2aa711a9f4b upstream.
decode_op_hdr() cannot distinguish between an XDR decoding error and
the perfectly valid errorcode NFS4ERR_IO. This is normally not a
problem, but for the particular case of OPEN, we need to be able
to increment the NFSv4 open sequence id when the server returns
a valid response.
Reported-by: J Bruce Fields <bfields@fieldses.org>
Link: http://lkml.kernel.org/r/20131204210356.GA19452@fieldses.org
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions