From: Ian Kent Subject: Re: compat: autofs v5 packet size ambiguity - update Date: Thu, 23 Feb 2012 09:48:23 +0800 Message-ID: <1329961703.2244.8.camel@perseus.themaw.net> 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> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=themaw.net; h= message-id:subject:from:to:cc:date:in-reply-to:references :content-type:content-transfer-encoding:mime-version; s=mesmtp; bh=ou9QRiI+MwHlXFsEdsi0vxvkbLU=; b=P0/27EkH8bXa6KJ3fiNRCHyDxTFm cR9xfnbS3FCigjt2epYiWxZsZfuEpOoSUSQttBpzul9CFr/64IfZwj9+SY9Kmx1D 820UNL6HFhLEZnn5+ZxCUkSZBZ9H6ZLiASzkgkPStN0s8kOwdF4f+V8nbuOigyhk XbfNSXTQgqkoaks= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:subject:from:to:cc:date :in-reply-to:references:content-type:content-transfer-encoding :mime-version; s=smtpout; bh=ou9QRiI+MwHlXFsEdsi0vxvkbLU=; b=EF9 bMk6o01vp4cIm5Zxrbi8OX40ouE0gh+bQGTMOazC+VFkKqQAplXP6mirVPNackc2 sIA/SDDfWrK7PolwFxc5HJsqUc8tltl2/An9Hx7EKaJHJcNYStTEwOqi+B9ULjC8 HfXFJxLVeCk1fAygLC295DHKPDQicBzTftjcilSs= In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Linus Torvalds Cc: David Miller , linux-kernel@vger.kernel.org, "H. Peter Anvin" , autofs@vger.kernel.org, Thomas Meyer , Al Viro On Wed, 2012-02-22 at 08:12 -0800, Linus Torvalds wrote: > On Wed, Feb 22, 2012 at 1:32 AM, Ian Kent wrote: > > > > Oh, DOH ... > > > > The process mounting the autofs mount is passing the pipe it will use > > for communication via a mount option so we can do this right in > > fill_super. > > No, we really cannot. Sorry, I think your wrong this time. > > The autofs "mount" is done by fork + execve("mount"). It's done like this when mounting things inside an already mounted indirect autofs mount or when mounting things on autofs direct mount triggers but, in version 5, mount(2) has always used to mount autofs file systems. Ian