NFSv4.1: Fix nfs4_callback_recallslot to work with dynamic slot allocation
[firefly-linux-kernel-4.4.55.git] / fs / nfs / callback_proc.c
index 0ef047b7d28dab76ed660720d928749c856e0d17..15b9879d6fbb1ccd23178af143a42ee4fd3fe374 100644 (file)
@@ -576,7 +576,7 @@ __be32 nfs4_callback_recallslot(struct cb_recallslotargs *args, void *dummy,
        if (args->crsa_target_max_slots == fc_tbl->max_slots)
                goto out;
 
-       fc_tbl->target_highest_slotid = args->crsa_target_max_slots;
+       nfs41_set_target_slotid(fc_tbl, args->crsa_target_max_slots);
        nfs41_handle_recall_slot(cps->clp);
 out:
        dprintk("%s: exit with status = %d\n", __func__, ntohl(status));