From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Kent Subject: Re: [PATCH] autofs4 - zero timeout prevents shutdown Date: Tue, 19 Sep 2006 12:33:52 +0800 Message-ID: <1158640433.3003.20.camel@raven.themaw.net> References: <20060918211123.84e583cf.akpm@osdl.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: autofs mailing list , Kernel Mailing List , linux-fsdevel Return-path: Received: from out1.smtp.messagingengine.com ([66.111.4.25]:31661 "EHLO out1.smtp.messagingengine.com") by vger.kernel.org with ESMTP id S1752050AbWISEeD (ORCPT ); Tue, 19 Sep 2006 00:34:03 -0400 To: Andrew Morton In-Reply-To: <20060918211123.84e583cf.akpm@osdl.org> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Mon, 2006-09-18 at 21:11 -0700, Andrew Morton wrote: > On Tue, 19 Sep 2006 11:48:15 +0800 (WST) > Ian Kent wrote: > > > If the timeout of an autofs mount is set to zero then umounts > > are disabled. This works fine, however the kernel module checks > > the expire timeout and goes no further if it is zero. This is > > not the right thing to do at shutdown as the module is passed > > an option to expire mounts regardless of their timeout setting. > > Is this a new feature, or a regression since ? It's a regression which I must have introduced a long time ago. I can go back and check the kernels if you'd like more specific info. It should work this way and a recent report alerted me to it. Ian