aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4xdr.c
diff options
context:
space:
mode:
authorAlexandros Batsakis <batsakis@netapp.com>2009-12-05 13:46:14 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-12-05 13:46:14 -0500
commit0629e370dd5819efa5cf8d418a8e6729efe388ef (patch)
tree90883270cf5d677b13c81d0e6dbfaac38c5d18a9 /fs/nfs/nfs4xdr.c
parent2449ea2e191123729b2dc37a06fcb9d6ea7e2736 (diff)
nfs41: check SEQUENCE status flag
the server can indicate a number of error conditions by setting the appropriate bits in the SEQUENCE operation. The client re-establishes state with the server when it receives one of those, with the action depending on the specific case. Signed-off-by: Alexandros Batsakis <batsakis@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4xdr.c')
-rw-r--r--fs/nfs/nfs4xdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c
index 4ddd04a1113e..f740472370aa 100644
--- a/fs/nfs/nfs4xdr.c
+++ b/fs/nfs/nfs4xdr.c
@@ -4614,8 +4614,8 @@ static int decode_sequence(struct xdr_stream *xdr,
4614 dummy = be32_to_cpup(p++); 4614 dummy = be32_to_cpup(p++);
4615 /* target highest slot id - currently not processed */ 4615 /* target highest slot id - currently not processed */
4616 dummy = be32_to_cpup(p++); 4616 dummy = be32_to_cpup(p++);
4617 /* result flags - currently not processed */ 4617 /* result flags */
4618 dummy = be32_to_cpup(p); 4618 res->sr_status_flags = be32_to_cpup(p);
4619 status = 0; 4619 status = 0;
4620out_err: 4620out_err:
4621 res->sr_status = status; 4621 res->sr_status = status;