All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dcache: fix implicit wait.h include in <linux/dcache.h>
@ 2016-09-18 21:51 Paul Gortmaker
  0 siblings, 0 replies; only message in thread
From: Paul Gortmaker @ 2016-09-18 21:51 UTC (permalink / raw)
  To: linux-kernel; +Cc: Paul Gortmaker, Al Viro

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-09-18 21:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-18 21:51 [PATCH] dcache: fix implicit wait.h include in <linux/dcache.h> Paul Gortmaker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.