From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Kent Subject: Re: [RFC:PATCH 2/4] autofs4 - add v5 follow_link mount trigger method Date: Mon, 13 Feb 2006 00:53:36 +0800 (WST) Message-ID: References: <200602121340.k1CDeHSn019282@eagle.themaw.net> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Kernel Mailing List , linux-fsdevel@vger.kernel.org, autofs@linux.kernel.org Return-path: Received: from wombat.indigo.net.au ([202.0.185.19]:29707 "EHLO wombat.indigo.net.au") by vger.kernel.org with ESMTP id S1751142AbWBLQx6 (ORCPT ); Sun, 12 Feb 2006 11:53:58 -0500 To: Jan Engelhardt In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Sun, 12 Feb 2006, Jan Engelhardt wrote: > > > >This patch adds a follow_link inode method for the root of > >an autofs direct mount trigger. It also adds the corresponding > >mount options and updates the show_mount method. > > > >+ if (sbi->type & AUTOFS_TYP_OFFSET) > >+ seq_printf(m, ",offset"); > >+ else if (sbi->type & AUTOFS_TYP_DIRECT) > >+ seq_printf(m, ",direct"); > >+ else > >+ seq_printf(m, ",indirect"); > >+ > > Just a little nitpick: in English, it's usually "type" not "typ". OK. But this was intentional. In fact the same thought occured to me this evening when I was preparing the patches. I'll consider it for the final post. Thanks > > >+#define AUTOFS_TYP_INDIRECT 0x0001 > >+#define AUTOFS_TYP_DIRECT 0x0002 > >+#define AUTOFS_TYP_OFFSET 0x0004 > > >+ unsigned int type; > > > Jan Engelhardt > -- >