summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-11-21 03:32:48 (GMT)
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-12-05 23:30:42 (GMT)
commit1b285ff16ab52fb401aed7ce70abed4bb65b30b5 (patch)
tree8d2378e2d1ac90dfd5be8725c86cc2a7522cf267
parentd5fb4ce33e26e4c1c31c1609b8ffbb24f80bcab8 (diff)
downloadlinux-fsl-qoriq-1b285ff16ab52fb401aed7ce70abed4bb65b30b5.tar.xz
NFSv4.1: Allow the server to recall all but one slot
If the server wants to leave us with only one slot, or it wants to "shrink" our slot table to something larger than we have now, then so be it. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
-rw-r--r--fs/nfs/callback_proc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/nfs/callback_proc.c b/fs/nfs/callback_proc.c
index ed0b446..a0546ec 100644
--- a/fs/nfs/callback_proc.c
+++ b/fs/nfs/callback_proc.c
@@ -567,11 +567,6 @@ __be32 nfs4_callback_recallslot(struct cb_recallslotargs *args, void *dummy,
fc_tbl = &cps->clp->cl_session->fc_slot_table;
- status = htonl(NFS4ERR_BAD_HIGH_SLOT);
- if (args->crsa_target_highest_slotid >= fc_tbl->max_slots ||
- args->crsa_target_highest_slotid < 1)
- goto out;
-
status = htonl(NFS4_OK);
nfs41_set_target_slotid(fc_tbl, args->crsa_target_highest_slotid);