]> git.karo-electronics.de Git - linux-beck.git/commit
nfsd41: Backchannel: Add sequence arguments to callback RPC arguments
authorRicardo Labiaga <Ricardo.Labiaga@netapp.com>
Thu, 10 Sep 2009 09:26:12 +0000 (12:26 +0300)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 16 Sep 2009 00:49:55 +0000 (20:49 -0400)
commit132f97715c098393fb8de3c26b07b9fdbd2334f1
tree293a4cfc826e8597aeafcb64e8452a57fea25f08
parent38524ab38f2752beee262a97403d871665838172
nfsd41: Backchannel: Add sequence arguments to callback RPC arguments

Follow the model we use in the client. Make the sequence arguments
part of the regular RPC arguments.  None of the callbacks that are
soon to be implemented expect results that need to be passed back
to the caller, so we don't define a separate RPC results structure.
For session validation, the cb_sequence decoding will use a pointer
to the sequence arguments that are part of the RPC argument.

Signed-off-by: Ricardo Labiaga <Ricardo.Labiaga@netapp.com>
[define struct nfsd4_cb_sequence here]
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4callback.c
include/linux/nfsd/state.h