]> Git Repo - linux.git/commit - net/sunrpc/auth.c
SUNRPC: Fix a bug in rpcauth_prune_expired
authorTrond Myklebust <[email protected]>
Thu, 22 Apr 2010 19:35:55 +0000 (15:35 -0400)
committerTrond Myklebust <[email protected]>
Thu, 22 Apr 2010 19:35:55 +0000 (15:35 -0400)
commit3d7b08945e54a3a5358d5890240619a013cb7388
treefc255ee6b91875e623200aa5b3f59fe58cc3e456
parentc81eddb0e3728661d1585fbc564449c94165cc36
SUNRPC: Fix a bug in rpcauth_prune_expired

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 <[email protected]>
net/sunrpc/auth.c
This page took 0.04994 seconds and 4 git commands to generate.