From: David Howells Subject: [PATCH [ver #2] 21/39] UAPI: Fix linux/auto_fs.h inclusion order Date: Fri, 08 Jul 2011 15:26:22 +0100 Message-ID: <20110708142622.31344.27836.stgit@warthog.procyon.org.uk> References: <20110708142244.31344.24941.stgit@warthog.procyon.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com ([209.132.183.28]:18697 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752229Ab1GHO1H (ORCPT ); Fri, 8 Jul 2011 10:27:07 -0400 In-Reply-To: <20110708142244.31344.24941.stgit@warthog.procyon.org.uk> Sender: linux-arch-owner@vger.kernel.org List-ID: To: rdunlap@xenotime.net, hpa@kernel.org, matthew@wil.cx, linux-arch@vger.kernel.org Cc: dhowells@redhat.com, ralf@linux-mips.org Fix linux/auto_fs.h inclusion order to make sure that the inclusion of the user-specific file happens after the inclusion of the header file that provides NAME_MAX. To get around this problem, place a marker specifically to indicate the point at which the #include_next should be placed in the kernel-specific file. Signed-off-by: David Howells --- include/linux/auto_fs.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/linux/auto_fs.h b/include/linux/auto_fs.h index da64e15..f9ca4e6 100644 --- a/include/linux/auto_fs.h +++ b/include/linux/auto_fs.h @@ -23,6 +23,8 @@ #include #endif /* __KERNEL__ */ +// DISINTEGRATE: INCLUDE UAPI HERE + /* This file describes autofs v3 */ #define AUTOFS_PROTO_VERSION 3