From patchwork Thu Jul 15 02:17:22 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Howells X-Patchwork-Id: 112146 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o6F2KXAh000398 for ; Thu, 15 Jul 2010 02:20:34 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758507Ab0GOCTU (ORCPT ); Wed, 14 Jul 2010 22:19:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47876 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758260Ab0GOCR2 (ORCPT ); Wed, 14 Jul 2010 22:17:28 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o6F2HRu7025824 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 14 Jul 2010 22:17:27 -0400 Received: from warthog.cambridge.redhat.com (kibblesnbits.boston.devel.redhat.com [10.16.60.12]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o6F2HN6Z023719 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Jul 2010 22:17:26 -0400 Received: from [127.0.0.1] (helo=warthog.procyon.org.uk) by warthog.cambridge.redhat.com with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1OZE0o-0001V3-Sm; Thu, 15 Jul 2010 03:17:22 +0100 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells Subject: [PATCH 11/18] xstat: Make automounter filesystems return FS_AUTOMOUNT_FL [ver #6] To: viro@ZenIV.linux.org.uk Cc: dhowells@redhat.com, linux-fsdevel@vger.kernel.org, linux-nfs@vger.kernel.org, linux-cifs@vger.kernel.org, linux-kernel@vger.kernel.org, samba-technical@lists.samba.org, linux-ext4@vger.kernel.org Date: Thu, 15 Jul 2010 03:17:22 +0100 Message-ID: <20100715021722.5544.803.stgit@warthog.procyon.org.uk> In-Reply-To: <20100715021709.5544.64506.stgit@warthog.procyon.org.uk> References: <20100715021709.5544.64506.stgit@warthog.procyon.org.uk> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 15 Jul 2010 02:20:34 +0000 (UTC) diff --git a/fs/autofs/init.c b/fs/autofs/init.c index cea5219..2c06d4b 100644 --- a/fs/autofs/init.c +++ b/fs/autofs/init.c @@ -23,6 +23,7 @@ static int autofs_get_sb(struct file_system_type *fs_type, static struct file_system_type autofs_fs_type = { .owner = THIS_MODULE, .name = "autofs", + .inode_flags = FS_AUTOMOUNT_FL, .get_sb = autofs_get_sb, .kill_sb = autofs_kill_sb, }; diff --git a/fs/autofs4/init.c b/fs/autofs4/init.c index 9722e4b..43df431 100644 --- a/fs/autofs4/init.c +++ b/fs/autofs4/init.c @@ -23,6 +23,7 @@ static int autofs_get_sb(struct file_system_type *fs_type, static struct file_system_type autofs_fs_type = { .owner = THIS_MODULE, .name = "autofs", + .inode_flags = FS_AUTOMOUNT_FL, .get_sb = autofs_get_sb, .kill_sb = autofs4_kill_sb, };