Whamcloud - gitweb
LU-9538 utils: fix lfs xattr.h header usage 18/32918/2
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 1 Aug 2018 19:46:35 +0000 (13:46 -0600)
committerOleg Drokin <green@whamcloud.com>
Mon, 6 Aug 2018 14:36:28 +0000 (14:36 +0000)
commitcc234da91b6c00cbe681d7352320df94c09dc288
tree78ff3a62be25bed9909d39c7b9875fc98243baf2
parentfc9fcdab78d738445a128163be457f42f79692b0
LU-9538 utils: fix lfs xattr.h header usage

The lfs_getsom() code added the use of lgetxattr() to lfs.c, but
included the <attr/xattr.h> header instead of <sys/xattr.h> as
is used by other code in the tree.  That adds a dependency on
libattr-devel that we don't really need.

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I8cccccbdc7186d0ed1bfb1c12d911da763a44bf5
Reviewed-on: https://review.whamcloud.com/32918
Tested-by: Jenkins
Reviewed-by: Patrick Farrell <paf@cray.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Yingjin Qian <qian@ddn.com>
Reviewed-by: Quentin Bouget <quentin.bouget@cea.fr>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/utils/lfs.c