From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755217Ab2BWCcJ (ORCPT ); Wed, 22 Feb 2012 21:32:09 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:35336 "EHLO out5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752036Ab2BWCcG (ORCPT ); Wed, 22 Feb 2012 21:32:06 -0500 X-Sasl-enc: t4kKY4ao4WsXa7e6+lZ93mPIk4KSt/9hRNpvN7Qj8pLpkdSTdYVUVmV5nQ 1329964325 Message-ID: <1329964322.2244.22.camel@perseus.themaw.net> Subject: Re: compat: autofs v5 packet size ambiguity - update From: Ian Kent To: Linus Torvalds Cc: David Miller , linux-kernel@vger.kernel.org, "H. Peter Anvin" , autofs@vger.kernel.org, Thomas Meyer , Al Viro Date: Thu, 23 Feb 2012 10:32:02 +0800 In-Reply-To: References: <20120221.221609.218135609185671883.davem@davemloft.net> <1329889428.2193.45.camel@perseus.themaw.net> <1329890027.2193.48.camel@perseus.themaw.net> <1329890251.2193.50.camel@perseus.themaw.net> <1329903139.2193.66.camel@perseus.themaw.net> <1329961703.2244.8.camel@perseus.themaw.net> <1329962955.2244.16.camel@perseus.themaw.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2012-02-22 at 18:25 -0800, Linus Torvalds wrote: > On Wed, Feb 22, 2012 at 6:09 PM, Ian Kent wrote: > > > > Sure, that's true, and you'll see it uses the mount option maxproto with > > the value of AUTOFS_MAX_PROTO_VERSION. But autofs uses it's own copy of > > the headers so AUTOFS_MAX_PROTO_VERSION is 4 not 5 so it won't be > > affected by this change. > > Ok. > > I fetched your git tree, and it seems this changed to use mount() > directly in commit a74f68c99d9f ("integrated master map parsing into > daemon") back in 2006. > > Which seems to be part of autofs_5_0_0_beta1, so I guess we're safe. I > hope no distro ever used any early pre-beta versions of autofs that > had the new packet support but still used the external 'mount' > command. If there are they have bigger automount problem than the kernel packet size, ;) It really didn't become usable until at least the rc releases and the actual first non-test release was 5.0.1, we never had a 5.0.0. Ian