diff options
Diffstat (limited to 'fs/nfs/callback.h')
-rw-r--r-- | fs/nfs/callback.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/fs/nfs/callback.h b/fs/nfs/callback.h index b678e3e15bd9..f6768ac09190 100644 --- a/fs/nfs/callback.h +++ b/fs/nfs/callback.h | |||
@@ -138,6 +138,25 @@ extern __be32 nfs4_callback_recallslot(struct cb_recallslotargs *args, | |||
138 | void *dummy, | 138 | void *dummy, |
139 | struct cb_process_state *cps); | 139 | struct cb_process_state *cps); |
140 | 140 | ||
141 | struct cb_layoutrecallargs { | ||
142 | struct sockaddr *cbl_addr; | ||
143 | uint32_t cbl_recall_type; | ||
144 | uint32_t cbl_layout_type; | ||
145 | uint32_t cbl_layoutchanged; | ||
146 | union { | ||
147 | struct { | ||
148 | struct nfs_fh cbl_fh; | ||
149 | struct pnfs_layout_range cbl_range; | ||
150 | nfs4_stateid cbl_stateid; | ||
151 | }; | ||
152 | struct nfs_fsid cbl_fsid; | ||
153 | }; | ||
154 | }; | ||
155 | |||
156 | extern unsigned nfs4_callback_layoutrecall( | ||
157 | struct cb_layoutrecallargs *args, | ||
158 | void *dummy, struct cb_process_state *cps); | ||
159 | |||
141 | extern void nfs4_check_drain_bc_complete(struct nfs4_session *ses); | 160 | extern void nfs4_check_drain_bc_complete(struct nfs4_session *ses); |
142 | extern void nfs4_cb_take_slot(struct nfs_client *clp); | 161 | extern void nfs4_cb_take_slot(struct nfs_client *clp); |
143 | #endif /* CONFIG_NFS_V4_1 */ | 162 | #endif /* CONFIG_NFS_V4_1 */ |