summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorTrond Myklebust2016-08-28 18:19:04 +0200
committerTrond Myklebust2016-08-28 20:23:27 +0200
commitd138027a8256a3e9d7657c8d0dae84c08ef2cfe1 (patch)
tree10ee32096bc9d0e5d38bc7551049507af95fd8f7 /fs
parentNFSv4.1: Close callback races for OPEN, LAYOUTGET and LAYOUTRETURN (diff)
downloadkernel-qcow2-linux-d138027a8256a3e9d7657c8d0dae84c08ef2cfe1.tar.gz
kernel-qcow2-linux-d138027a8256a3e9d7657c8d0dae84c08ef2cfe1.tar.xz
kernel-qcow2-linux-d138027a8256a3e9d7657c8d0dae84c08ef2cfe1.zip
NFSv4.1: Remove obsolete and incorrrect assignment in nfs4_callback_sequence
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/nfs/callback_proc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/callback_proc.c b/fs/nfs/callback_proc.c
index c35932967722..f953ef6b2f2e 100644
--- a/fs/nfs/callback_proc.c
+++ b/fs/nfs/callback_proc.c
@@ -484,7 +484,6 @@ __be32 nfs4_callback_sequence(struct cb_sequenceargs *args,
goto out;
tbl = &clp->cl_session->bc_slot_table;
- slot = tbl->slots + args->csa_slotid;
/* Set up res before grabbing the spinlock */
memcpy(&res->csr_sessionid, &args->csa_sessionid,