alistair23-linux/fs/autofs4
NeilBrown 6ece08e618 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 <neilb@suse.de>
Reviewed-by: Ian Kent <raven@themaw.net>
Tested-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-10-14 02:18:16 +02:00
..
autofs_i.h autofs4: allow RCU-walk to walk through autofs4 2014-10-14 02:18:16 +02:00
dev-ioctl.c autofs4: allow RCU-walk to walk through autofs4 2014-10-14 02:18:16 +02:00
expire.c autofs4: make "autofs4_can_expire" idempotent. 2014-10-14 02:18:16 +02:00
init.c fs: Limit sys_mount to only request filesystem modules. 2013-03-03 19:36:31 -08:00
inode.c autofs4: fix false positive compile error 2014-07-03 09:21:53 -07:00
Kconfig fs/Kconfig: move autofs, autofs4 out 2009-01-22 13:15:54 +03:00
Makefile autofs4: add miscellaneous device for ioctls 2008-10-16 11:21:39 -07:00
root.c autofs4: allow RCU-walk to walk through autofs4 2014-10-14 02:18:16 +02:00
symlink.c autofs: fix symlinks aren't checked for expiry 2014-01-23 16:36:59 -08:00
waitq.c autofs4: translate pids to the right namespace for the daemon 2014-01-23 16:36:59 -08:00