summaryrefslogtreecommitdiff
path: root/tools/testing
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2018-08-22 07:58:44 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2018-08-22 20:52:49 +0300
commit2fd9944f0fd41f7bc2f590169a9a758e1186b345 (patch)
treed17b5f80b83093a863773d168c437d3f00aa32c5 /tools/testing
parentd4d79b8195bfc6d5d8f82f9189c1bc828cc7e03a (diff)
downloadlinux-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