From 87feab774f0851fbfd5794d1804f4e7db2e4d536 Mon Sep 17 00:00:00 2001 From: Andy Adamson Date: Fri, 17 Feb 2012 13:05:23 -0500 Subject: [PATCH] --- yaml --- r: 294488 b: refs/heads/master c: b6bf6e7d6f6fae1ddcae9e02dfe676bdc8fe892c h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/nfs/nfs4state.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 8f6a4a7a4b6a..bcad241cbefc 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d7c32675021bd750d8e0e726f2f81f746e8cab01 +refs/heads/master: b6bf6e7d6f6fae1ddcae9e02dfe676bdc8fe892c diff --git a/trunk/fs/nfs/nfs4state.c b/trunk/fs/nfs/nfs4state.c index 4e37818a34ef..c1111a37dc14 100644 --- a/trunk/fs/nfs/nfs4state.c +++ b/trunk/fs/nfs/nfs4state.c @@ -212,7 +212,7 @@ static void nfs4_end_drain_session(struct nfs_client *clp) static int nfs4_wait_on_slot_tbl(struct nfs4_slot_table *tbl) { spin_lock(&tbl->slot_tbl_lock); - if (tbl->highest_used_slotid != -1) { + if (tbl->highest_used_slotid != NFS4_NO_SLOT) { INIT_COMPLETION(tbl->complete); spin_unlock(&tbl->slot_tbl_lock); return wait_for_completion_interruptible(&tbl->complete);