Re: [PATCH] autofs - fix fix symlinks arent checked for expiry

2013-12-26 Thread Ian Kent
On Thu, 2013-12-26 at 17:19 -0800, Andrew Morton wrote: > On Fri, 27 Dec 2013 09:09:52 +0800 Ian Kent wrote: > > > On Thu, 2013-12-26 at 13:42 -0800, Andrew Morton wrote: > > > On Tue, 24 Dec 2013 17:44:59 +0800 Ian Kent wrote: > > > > > > > When following a symlink the last_used counter is unc

Re: [PATCH] autofs - fix fix symlinks arent checked for expiry

2013-12-26 Thread Andrew Morton
On Fri, 27 Dec 2013 09:09:52 +0800 Ian Kent wrote: > On Thu, 2013-12-26 at 13:42 -0800, Andrew Morton wrote: > > On Tue, 24 Dec 2013 17:44:59 +0800 Ian Kent wrote: > > > > > When following a symlink the last_used counter is unconditionally > > > updated causing the expire checks from user space

Re: [PATCH] autofs - fix fix symlinks arent checked for expiry

2013-12-26 Thread Ian Kent
On Thu, 2013-12-26 at 13:42 -0800, Andrew Morton wrote: > On Tue, 24 Dec 2013 17:44:59 +0800 Ian Kent wrote: > > > When following a symlink the last_used counter is unconditionally > > updated causing the expire checks from user space to prevent > > expiry. Opps! > > A bit unclear. You're sayin

Re: [PATCH] autofs - fix fix symlinks arent checked for expiry

2013-12-26 Thread Andrew Morton
On Tue, 24 Dec 2013 17:44:59 +0800 Ian Kent wrote: > When following a symlink the last_used counter is unconditionally > updated causing the expire checks from user space to prevent > expiry. Opps! A bit unclear. You're saying that userspace's act of checking expiry status will itself disrupt t

[PATCH] autofs - fix fix symlinks arent checked for expiry

2013-12-24 Thread Ian Kent
When following a symlink the last_used counter is unconditionally updated causing the expire checks from user space to prevent expiry. Opps! Signed-off-by: Ian Kent --- fs/autofs4/symlink.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/autofs4/symlink.c b/fs/autofs4