NFSv4.1: Fix nfs4_callback_recallslot to work with dynamic slot allocation
[firefly-linux-kernel-4.4.55.git] / fs / nfs / nfs4_fs.h
index 42c58691fb4180ead5a0bd1ded00bb5ac99529fe..5d4e82b10c3c63dccce73c2e5d768b4c783a26db 100644 (file)
@@ -260,6 +260,8 @@ extern int nfs4_proc_layoutcommit(struct nfs4_layoutcommit_data *data,
 
 extern struct nfs4_slot *nfs4_alloc_slots(struct nfs4_slot_table *table,
                u32 max_slots, gfp_t gfp_flags);
+extern void nfs41_set_target_slotid(struct nfs4_slot_table *tbl,
+               u32 target_highest_slotid);
 
 static inline bool
 is_ds_only_client(struct nfs_client *clp)