Whamcloud - gitweb
LU-9558 tests: add completion.h header to kinode.c 67/29567/2
authorJames Simmons <uja.ornl@yahoo.com>
Thu, 14 Sep 2017 13:40:56 +0000 (09:40 -0400)
committerJohn L. Hammond <john.hammond@intel.com>
Tue, 24 Oct 2017 21:27:29 +0000 (21:27 +0000)
When building lustre on a ARM fedora box running a 4.11 kernel
kinode.c failed to build due to the completion.h header missing.
A simple including of this header fixes everything.

Test-Parameters: trivial

Lustre-change: https://review.whamcloud.com/28998
Lustre-commit: 982d660edbcacd528579f25ed2a3ae076a0134f3

Change-Id: I2a193346b214616a6f5dee5049466fb55567e396
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Frank Zago <fzago@cray.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-on: https://review.whamcloud.com/29567
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/tests/kernel/kinode.c

index 26052e7..b143ab8 100644 (file)
@@ -33,6 +33,7 @@
 
 #include <linux/module.h>
 #include <linux/kernel.h>
+#include <linux/completion.h>
 #include <linux/kthread.h>
 #include <linux/fs.h>
 #include <linux/version.h>