Whamcloud - gitweb
LU-9558 tests: add completion.h header to kinode.c 98/28998/2
authorJames Simmons <uja.ornl@yahoo.com>
Thu, 14 Sep 2017 13:40:56 +0000 (09:40 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 21 Sep 2017 06:14:14 +0000 (06:14 +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

Change-Id: I2a193346b214616a6f5dee5049466fb55567e396
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/28998
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.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>
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>