diff options
author | J. Bruce Fields <bfields@redhat.com> | 2010-11-18 08:30:33 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-01-11 15:04:10 -0500 |
commit | 0d7bb71907546b2baf15d78edd3e508e12963dbf (patch) | |
tree | 4ccdc54a5c95701455d0060f9b7106253e35af59 /fs/nfsd/nfs4xdr.c | |
parent | 77a3569d6c4e14e89fa628df383b6dccc0cce6be (diff) | |
download | op-kernel-dev-0d7bb71907546b2baf15d78edd3e508e12963dbf.zip op-kernel-dev-0d7bb71907546b2baf15d78edd3e508e12963dbf.tar.gz |
nfsd4: set sequence flag when backchannel is down
Implement the SEQ4_STATUS_CB_PATH_DOWN flag.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4xdr.c')
-rw-r--r-- | fs/nfsd/nfs4xdr.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index 4ff2c9e..956629b 100644 --- a/fs/nfsd/nfs4xdr.c +++ b/fs/nfsd/nfs4xdr.c @@ -3137,13 +3137,9 @@ nfsd4_encode_sequence(struct nfsd4_compoundres *resp, int nfserr, WRITE32(seq->seqid); WRITE32(seq->slotid); WRITE32(seq->maxslots); - /* - * FIXME: for now: - * target_maxslots = maxslots - * status_flags = 0 - */ + /* For now: target_maxslots = maxslots */ WRITE32(seq->maxslots); - WRITE32(0); + WRITE32(seq->status_flags); ADJUST_ARGS(); resp->cstate.datap = p; /* DRC cache data pointer */ |