From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: <linux-kernel@vger.kernel.org>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>,
Al Viro <viro@zeniv.linux.org.uk>
Subject: [PATCH] dcache: fix implicit wait.h include in <linux/dcache.h>
Date: Sun, 18 Sep 2016 17:51:50 -0400 [thread overview]
Message-ID: <20160918215150.23215-1-paul.gortmaker@windriver.com> (raw)
To fix:
In file included from fs/notify/fsnotify.c:19:0:
./include/linux/dcache.h:103:3: error: unknown type name ‘wait_queue_head_t’
wait_queue_head_t *d_wait; /* in-lookup ones only */
^
./include/linux/dcache.h:233:6: error: unknown type name ‘wait_queue_head_t’
wait_queue_head_t *);
^
make[2]: *** [fs/notify/fsnotify.o] Error 1
The same fail appears in file included from security/security.c:15:0:
This was observed in -rt, but it is quite possible the same issue will
appear for certain configs or arch builds on mainline as well.
Fixes: d9171b934526 ("parallel lookups machinery, part 4 (and last)")
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
diff --git a/include/linux/dcache.h b/include/linux/dcache.h
index 5ff3e9a4fe5f..b719cb8b6b5d 100644
--- a/include/linux/dcache.h
+++ b/include/linux/dcache.h
@@ -3,6 +3,7 @@
#include <linux/atomic.h>
#include <linux/list.h>
+#include <linux/wait.h>
#include <linux/rculist.h>
#include <linux/rculist_bl.h>
#include <linux/spinlock.h>
--
2.5.0
reply other threads:[~2016-09-18 21:52 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=20160918215150.23215-1-paul.gortmaker@windriver.com \
--to=paul.gortmaker@windriver.com \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/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;
as well as URLs for NNTP newsgroup(s).