summaryrefslogtreecommitdiffstats
path: root/tools/gpio
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2018-08-21 21:58:44 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2018-08-22 10:52:49 -0700
commit2fd9944f0fd41f7bc2f590169a9a758e1186b345 (patch)
treed17b5f80b83093a863773d168c437d3f00aa32c5 /tools/gpio
parentd4d79b8195bfc6d5d8f82f9189c1bc828cc7e03a (diff)
downloadlinux-2fd9944f0fd41f7bc2f590169a9a758e1186b345.tar.bz2
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/gpio')
0 files changed, 0 insertions, 0 deletions