On 2/2/24 5:17 AM, Tony Solomonik wrote: > do_sys_ftruncate receives a file descriptor, fgets the struct file, and > finally actually truncates the file. > > do_ftruncate allows for passing in a file directly, with the caller > already holding a reference to it. Christian, this looking good to you now? -- Jens Axboe