Whamcloud - gitweb
LU-10934 tests: fix compilation without SELINUX 73/38973/2
authorMr NeilBrown <neilb@suse.de>
Wed, 17 Jun 2020 23:46:39 +0000 (09:46 +1000)
committerOleg Drokin <green@whamcloud.com>
Tue, 23 Jun 2020 08:12:27 +0000 (08:12 +0000)
commit3aa5f8ecf31c29625057c19628d8bfbb3c0c26dc
treed9ae760e264c397c9183b2dc67852d331644dc2d
parent933b112b3d3f3589dbc32601d546628d74829f8c
LU-10934 tests: fix compilation without SELINUX

lustre/tests/statx.c does not compile is SELINUX support
is not installed.
So add some #ifdefs to fix it.

Test-Parameters: trivial
Fixes: 3f7853b31ef6 ("LU-10934 llite: integrate statx() API with Lustre")
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: Ia0f285e1bb04270aff753bea71ffbe15a911db5f
Reviewed-on: https://review.whamcloud.com/38973
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Yingjin Qian <qian@ddn.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
lustre/tests/statx.c