diff options
-rw-r--r-- | fs/nfsd/nfs4callback.c | 5 | ||||
-rw-r--r-- | include/linux/nfsd/state.h | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4callback.c index db4188ce9b00..f31175717c1a 100644 --- a/fs/nfsd/nfs4callback.c +++ b/fs/nfsd/nfs4callback.c | |||
@@ -92,6 +92,11 @@ enum nfs_cb_opnum4 { | |||
92 | cb_sequence_dec_sz + \ | 92 | cb_sequence_dec_sz + \ |
93 | op_dec_sz) | 93 | op_dec_sz) |
94 | 94 | ||
95 | struct nfs4_rpc_args { | ||
96 | void *args_op; | ||
97 | struct nfsd4_cb_sequence args_seq; | ||
98 | }; | ||
99 | |||
95 | /* | 100 | /* |
96 | * Generic encode routines from fs/nfs/nfs4xdr.c | 101 | * Generic encode routines from fs/nfs/nfs4xdr.c |
97 | */ | 102 | */ |
diff --git a/include/linux/nfsd/state.h b/include/linux/nfsd/state.h index c916032570c4..0e5b5aecde03 100644 --- a/include/linux/nfsd/state.h +++ b/include/linux/nfsd/state.h | |||
@@ -60,6 +60,12 @@ typedef struct { | |||
60 | #define si_stateownerid si_opaque.so_stateownerid | 60 | #define si_stateownerid si_opaque.so_stateownerid |
61 | #define si_fileid si_opaque.so_fileid | 61 | #define si_fileid si_opaque.so_fileid |
62 | 62 | ||
63 | struct nfsd4_cb_sequence { | ||
64 | /* args/res */ | ||
65 | u32 cbs_minorversion; | ||
66 | struct nfs4_client *cbs_clp; | ||
67 | }; | ||
68 | |||
63 | struct nfs4_delegation { | 69 | struct nfs4_delegation { |
64 | struct list_head dl_perfile; | 70 | struct list_head dl_perfile; |
65 | struct list_head dl_perclnt; | 71 | struct list_head dl_perclnt; |