From: NeilBrown Date: Mon, 13 Oct 2014 22:52:18 +0000 (-0700) Subject: autofs4: make "autofs4_can_expire" idempotent. X-Git-Tag: omap-for-v3.19/prcm-cleanup~76^2~97 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ece08e6187a62dd5bdf7c49539980571922c551;p=pandora-kernel.git autofs4: make "autofs4_can_expire" idempotent. Have a "test" function change the value it is testing can be confusing, particularly as a future patch will be calling this function twice. So move the update for 'last_used' to avoid repeat expiry to the place where the final determination on what to expire is known. Signed-off-by: NeilBrown Reviewed-by: Ian Kent Tested-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed