NFSv4.1: Ensure that the client tracks the server target_highest_slotid
[firefly-linux-kernel-4.4.55.git] / fs / nfs / callback_proc.c
index 0be08b964f387e3ee7a093214969b54aa506dd02..0ef047b7d28dab76ed660720d928749c856e0d17 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_max_slots = args->crsa_target_max_slots;
+       fc_tbl->target_highest_slotid = args->crsa_target_max_slots;
        nfs41_handle_recall_slot(cps->clp);
 out:
        dprintk("%s: exit with status = %d\n", __func__, ntohl(status));