aboutsummaryrefslogtreecommitdiff
path: root/fs/nfs/nfs4filelayoutdev.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2013-12-04 17:39:23 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-13 13:50:15 -0800
commit8a362bd4ca793948a688f123bc895d7aca759a55 (patch)
tree921395ca9c77c2c1b56f70efe47b1b6f713fdd96 /fs/nfs/nfs4filelayoutdev.c
parentb1d74b1836ecf6d1a4f19c7b2bd89b7c11ce101b (diff)
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nfs/nfs4filelayoutdev.c')
0 files changed, 0 insertions, 0 deletions