mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tom Rini <trini@kernel.crashing.org>
To: Andrew Morton <akpm@osdl.org>,
	Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH 2.6.11-rc2] Move <linux/prio_tree.h> down in <linux/fs.h>
Date: Tue, 1 Feb 2005 09:06:42 -0700	[thread overview]
Message-ID: <20050201160642.GA15359@smtp.west.cox.net> (raw)

<linux/prio_tree.h> is unsafe for inclusion by userland apps, but it is
in the userland-exposed portion of <linux/fs.h>.  It's only needed in
the __KERNEL__ protected portion of the file, so move the #include down
to there.

lmbench-2.0.4 runs into this issue in 'flushdisk'.

Signed-off-by: Tom Rini <trini@kernel.crashing.org>

--- 1.377/include/linux/fs.h	2005-01-25 14:43:48 -07:00
+++ edited/include/linux/fs.h	2005-02-01 09:04:28 -07:00
@@ -16,7 +16,6 @@
 #include <linux/dcache.h>
 #include <linux/stat.h>
 #include <linux/cache.h>
-#include <linux/prio_tree.h>
 #include <linux/kobject.h>
 #include <asm/atomic.h>
 
@@ -219,6 +218,7 @@
 
 #include <linux/list.h>
 #include <linux/radix-tree.h>
+#include <linux/prio_tree.h>
 #include <linux/audit.h>
 #include <linux/init.h>
 #include <asm/semaphore.h>

-- 
Tom Rini
http://gate.crashing.org/~trini/

             reply	other threads:[~2005-02-01 16:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-01 16:06 Tom Rini [this message]
2005-02-02 16:21 ` David Woodhouse
2005-02-02 16:34   ` Tom Rini
2005-02-02 18:00     ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050201160642.GA15359@smtp.west.cox.net \
    --to=trini@kernel.crashing.org \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®