src/chprojid_fail.c: Fix undefined compile error on old kernel
authorYang Xu <xuyang2018.jy@cn.fujitsu.com>
Wed, 17 Mar 2021 10:11:13 +0000 (18:11 +0800)
committerEryu Guan <guaneryu@gmail.com>
Sat, 20 Mar 2021 08:37:38 +0000 (16:37 +0800)
commit3d15d3fe85f91f44b29f74f1effd4f714e5a0de2
tree6bffcee67310467668f4d50e910c6b010a6b823d
parent4a2683ce3e6d60ceb1ac7af7ab3d830d02aa1f72
src/chprojid_fail.c: Fix undefined compile error on old kernel

On old kernel, linux/fs.h doesn't include FS_IOC_FSGETXATTR and FS_IOC_FSGETXATTR
ioctl flag. It also doesn't include fsxattr struct. To fix this error, just
use global.h like fsstress.c.

Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
src/chprojid_fail.c