On 1/23/24 8:01 AM, Gabriel Krisman Bertazi wrote: >> +struct io_ftrunc { >> + struct file *file; > > This is unused in the rest of the patch. It has to be there, see io_kiocb and how file is first and these are unioned with that. See the note in tne io_kiocb definition in io_uring_types.h. -- Jens Axboe