diff options
Diffstat (limited to 'fs/nfsd/nfs4idmap.c')
-rw-r--r-- | fs/nfsd/nfs4idmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4idmap.c b/fs/nfsd/nfs4idmap.c index c78dbf493424..808b33a4a090 100644 --- a/fs/nfsd/nfs4idmap.c +++ b/fs/nfsd/nfs4idmap.c | |||
@@ -550,7 +550,7 @@ do_idmap_lookup_nowait(struct ent *(*lookup_fn)(struct ent *), | |||
550 | goto out_err; | 550 | goto out_err; |
551 | ret = -ETIMEDOUT; | 551 | ret = -ETIMEDOUT; |
552 | if (!test_bit(CACHE_VALID, &(*item)->h.flags) | 552 | if (!test_bit(CACHE_VALID, &(*item)->h.flags) |
553 | || (*item)->h.expiry_time < get_seconds() | 553 | || (*item)->h.expiry_time < seconds_since_boot() |
554 | || detail->flush_time > (*item)->h.last_refresh) | 554 | || detail->flush_time > (*item)->h.last_refresh) |
555 | goto out_put; | 555 | goto out_put; |
556 | ret = -ENOENT; | 556 | ret = -ENOENT; |