From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751142AbWBLQx7 (ORCPT ); Sun, 12 Feb 2006 11:53:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751149AbWBLQx6 (ORCPT ); Sun, 12 Feb 2006 11:53:58 -0500 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 Date: Mon, 13 Feb 2006 00:53:36 +0800 (WST) From: Ian Kent To: Jan Engelhardt cc: Kernel Mailing List , linux-fsdevel@vger.kernel.org, autofs@linux.kernel.org Subject: Re: [RFC:PATCH 2/4] autofs4 - add v5 follow_link mount trigger method In-Reply-To: Message-ID: References: <200602121340.k1CDeHSn019282@eagle.themaw.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-themaw-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=-1.896, required 5, autolearn=not spam, BAYES_00 -2.60, DATE_IN_PAST_12_24 0.70) X-themaw-MailScanner-From: raven@themaw.net Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@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 > -- >