aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nfs/nfs4proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index ae00c3ed733f..493e9cce1f11 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -539,7 +539,7 @@ static int nfs40_sequence_done(struct rpc_task *task,
539 struct nfs4_slot *slot = res->sr_slot; 539 struct nfs4_slot *slot = res->sr_slot;
540 struct nfs4_slot_table *tbl; 540 struct nfs4_slot_table *tbl;
541 541
542 if (!RPC_WAS_SENT(task)) 542 if (slot == NULL)
543 goto out; 543 goto out;
544 544
545 tbl = slot->table; 545 tbl = slot->table;