Whamcloud - gitweb
LU-12511 test: use proper UAPI header for fsx test app 65/47565/2
authorJames Simmons <jsimmons@infradead.org>
Wed, 8 Jun 2022 13:20:38 +0000 (09:20 -0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 27 Jun 2022 04:38:00 +0000 (04:38 +0000)
Using uapi as part of the path of the header forces the use of
the OpenSFS tree internal headers instead of an possible
external UAPI headers; which is the case for the native Linux
Lustre client. Just use linux/lustre path for UAPI headers
which works in all cases.

Change-Id: Ia46021f39a8f2e4ecae71846cbb76464617d12ab
Test-Parameters: trivial
Fixes: 90ba8b4ac ("LU-14642 test: add fsx mirror file test mode")
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/47565
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/fsx.c

index 5234ffc..fde6abe 100644 (file)
@@ -75,7 +75,7 @@
 #include <libcfs/util/string.h>
 #include <setjmp.h>
 
-#include <uapi/linux/lustre/lustre_idl.h>
+#include <linux/lustre/lustre_idl.h>
 #include <lustre/lustreapi.h>
 
 /*