SUNRPC: Fix a bug in rpcauth_prune_expired
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 22 Apr 2010 19:35:55 +0000 (15:35 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 22 Apr 2010 19:35:55 +0000 (15:35 -0400)
Don't want to evict a credential if cred->cr_expire == jiffies, since that
means that it was just placed on the cred_unused list. We therefore need to
use time_in_range() rather than time_in_range_open().

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

No differences found