summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2016-09-18 18:10:53 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2016-09-18 18:10:53 -0400
commit651c3a36fda8140ed84a40bfe5f07ee9f7b5610b (patch)
tree6e09807942b85de38200579f121750c7a16983d0
parent18802148e9a83c9d2163d4669b62418cac6b66ec (diff)
download4.8-rt-patches-651c3a36fda8140ed84a40bfe5f07ee9f7b5610b.tar.gz
dcache: add proper commit log to wait.h patch
-rw-r--r--patches/dcache-fix-implicit-wait.h-include.patch27
1 files changed, 24 insertions, 3 deletions
diff --git a/patches/dcache-fix-implicit-wait.h-include.patch b/patches/dcache-fix-implicit-wait.h-include.patch
index 8921e99d649e05..2624345f151439 100644
--- a/patches/dcache-fix-implicit-wait.h-include.patch
+++ b/patches/dcache-fix-implicit-wait.h-include.patch
@@ -1,12 +1,33 @@
-From 3b90c782338917d05672396f0dff47ad88367c6f Mon Sep 17 00:00:00 2001
+From 9f8ccc0930288d783821ae4a3a2316c44b289085 Mon Sep 17 00:00:00 2001
From: Paul Gortmaker <paul.gortmaker@windriver.com>
Date: Wed, 31 Aug 2016 14:52:14 -0400
-Subject: [PATCH] dcache: fix implicit wait.h include
+Subject: [PATCH] dcache: fix implicit wait.h include in <linux/dcache.h>
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+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 f53fa055021a..52f4919ad7bc 100644
+index 5ff3e9a4fe5f..b719cb8b6b5d 100644
--- a/include/linux/dcache.h
+++ b/include/linux/dcache.h
@@ -3,6 +3,7 @@