diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-01-23 15:18:18 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-01-25 09:36:21 -0500 |
commit | 810d82e6830100615e7481813a862d26ffcff6bd (patch) | |
tree | 800222904c927e881b0d469f0b2f3de229ba132d /fs/nfs/callback.h | |
parent | 5f83d86cf531d737ba2ca9c3cc500ff331fbd43e (diff) |
NFSv4.x: Allow multiple callbacks in flight
Hook the callback channel into the same session management machinery
as we use for the forward channel.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/callback.h')
-rw-r--r-- | fs/nfs/callback.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/callback.h b/fs/nfs/callback.h index ff8195bd75ea..5fe1cecbf9f0 100644 --- a/fs/nfs/callback.h +++ b/fs/nfs/callback.h | |||
@@ -37,10 +37,11 @@ enum nfs4_callback_opnum { | |||
37 | OP_CB_ILLEGAL = 10044, | 37 | OP_CB_ILLEGAL = 10044, |
38 | }; | 38 | }; |
39 | 39 | ||
40 | struct nfs4_slot; | ||
40 | struct cb_process_state { | 41 | struct cb_process_state { |
41 | __be32 drc_status; | 42 | __be32 drc_status; |
42 | struct nfs_client *clp; | 43 | struct nfs_client *clp; |
43 | u32 slotid; | 44 | struct nfs4_slot *slot; |
44 | u32 minorversion; | 45 | u32 minorversion; |
45 | struct net *net; | 46 | struct net *net; |
46 | }; | 47 | }; |