Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 153609
b: refs/heads/master
c: 281fe15
h: refs/heads/master
i:
  153607: 3723a44
v: v3
  • Loading branch information
Benny Halevy committed Jun 17, 2009
1 parent 2bd8d46 commit 396512d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4aece6a19cf7f474f15eb861ba74db4479884ce3
refs/heads/master: 281fe15dc1d6ad46992f18b7a6644269ec5f7138
8 changes: 8 additions & 0 deletions trunk/fs/nfs/callback_xdr.c
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,14 @@ static unsigned encode_cb_sequence_res(struct svc_rqst *rqstp,
static __be32
preprocess_nfs41_op(int nop, unsigned int op_nr, struct callback_op **op)
{
if (op_nr == OP_CB_SEQUENCE) {
if (nop != 0)
return htonl(NFS4ERR_SEQUENCE_POS);
} else {
if (nop == 0)
return htonl(NFS4ERR_OP_NOT_IN_SESSION);
}

switch (op_nr) {
case OP_CB_GETATTR:
case OP_CB_RECALL:
Expand Down

0 comments on commit 396512d

Please sign in to comment.