mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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>
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <linux/fs.h>
|
||||
#include "global.h"
|
||||
|
||||
static char zerobuf[65536];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user