On Fri, 2012-02-17 at 13:05 -0500, andros@xxxxxxxxxx wrote: > From: Andy Adamson <andros@xxxxxxxxxx> > > Signed-off-by: Andy Adamson <andros@xxxxxxxxxx> > --- > fs/nfs/nfs4state.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c > index 4e37818..c1111a3 100644 > --- a/fs/nfs/nfs4state.c > +++ b/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); Good catch! Applied... -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@xxxxxxxxxx www.netapp.com ��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥