Whamcloud - gitweb
LU-6073 tests: use sys/xattr.h in tests/mpi/*.c 91/15391/2
authorJohn L. Hammond <john.hammond@intel.com>
Thu, 25 Jun 2015 06:01:43 +0000 (01:01 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 8 Jul 2015 17:34:19 +0000 (17:34 +0000)
In lustre/tests/mpi/mdsrate.c include sys/xattr.h rather than
attr/xattr.h since the former is more likely to be installed that the
latter and provides the needed declarations.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I3b3f6a2cc2a5a7153bb3dbff535d7c1b3472f9b8
Reviewed-on: http://review.whamcloud.com/15391
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/tests/mpi/mdsrate.c

index 0a5e2fc..a3c9f51 100644 (file)
@@ -28,7 +28,7 @@
 #include <signal.h>
 #include <sys/ioctl.h>
 #include <dirent.h>
 #include <signal.h>
 #include <sys/ioctl.h>
 #include <dirent.h>
-#include <attr/xattr.h>
+#include <sys/xattr.h>
 
 #include "mpi.h"
 
 
 #include "mpi.h"