diff options
author | Ian Kent <raven@themaw.net> | 2018-08-22 07:58:44 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-08-22 20:52:49 +0300 |
commit | 2fd9944f0fd41f7bc2f590169a9a758e1186b345 (patch) | |
tree | d17b5f80b83093a863773d168c437d3f00aa32c5 /tools/testing | |
parent | d4d79b8195bfc6d5d8f82f9189c1bc828cc7e03a (diff) | |
download | linux-2fd9944f0fd41f7bc2f590169a9a758e1186b345.tar.xz |
autofs: fix inconsistent use of now variable
The global variable "now" in fs/autofs/expire.c is used in an inconsistent
way, sometimes using jiffies directly, and sometimes using the "now"
variable, and setting it isn't done consistently either.
But the autofs dentry info last_used field is only updated during path
walks or during expire so jiffies can be used directly and the global
variable "now" removed.
Link: http://lkml.kernel.org/r/152937731702.21213.7371321165189170865.stgit@pluto.themaw.net
Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions