Re: [f2fs-dev] [PATCH v2] f2fs: move ioctl interface definitions to separated file

From: Eric Biggers
Date: Fri Oct 30 2020 - 12:56:06 EST


On Fri, Oct 30, 2020 at 03:26:10PM +0800, Chao Yu wrote:
> +
> +struct f2fs_gc_range {
> + u32 sync;
> + u64 start;
> + u64 len;
> +};

Userspace headers need to use __u32, __u64, etc. instead of u32, u64, etc.

Did you try installing this header, and including it in a userspace program?

- Eric