From: David Howells <dhowells@redhat.com>
To: torvalds@osdl.org, akpm@linux-foundation.org
Cc: lczerner@redhat.com, dmonakhov@openvz.org, tytso@mit.edu,
linux-kernel@vger.kernel.org
Subject: [PATCH] Fix a missing inclusion of linux/types.h in linux/fs.h
Date: Thu, 28 Oct 2010 08:25:28 +0100 [thread overview]
Message-ID: <20101028072528.31276.91746.stgit@warthog.procyon.org.uk> (raw)
linux/fs.h needs to #include linux/types.h otherwise the following errors can be
encountered:
In file included from fs/char_dev.c:8:
include/linux/fs.h:36: error: expected specifier-qualifier-list before 'uint64_t'
In file included from include/linux/tty.h:9,
from drivers/char/tty_mutex.c:4:
include/linux/fs.h:36: error: expected specifier-qualifier-list before 'uint64_t'
In file included from mm/shmem.c:23:
include/linux/fs.h:36: error: expected specifier-qualifier-list before 'uint64_t'
Signed-off-by: David Howells <dhowells@redhat.com>
---
include/linux/fs.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 6ed7ace..15de46d 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -6,6 +6,7 @@
* structures etc.
*/
+#include <linux/types.h>
#include <linux/limits.h>
#include <linux/ioctl.h>
#include <linux/blk_types.h>
reply other threads:[~2010-10-28 7:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20101028072528.31276.91746.stgit@warthog.procyon.org.uk \
--to=dhowells@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=dmonakhov@openvz.org \
--cc=lczerner@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
--cc=tytso@mit.edu \
/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®