autofs4: factor should_expire() out of autofs4_expire_indirect.
authorNeilBrown <neilb@suse.de>
Mon, 13 Oct 2014 22:52:16 +0000 (15:52 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Oct 2014 00:18:16 +0000 (02:18 +0200)
commita5d1dba1430f059d5bb4bf1d95274ff01ccad3d9
tree44a1ab49022175e85b81e9674059230124c62713
parent23bfc2a24ea3d993cc5cc90c9970654e7232502e
autofs4: factor should_expire() out of autofs4_expire_indirect.

Future patch will potentially call this twice, so make it separate.

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>
fs/autofs4/expire.c