On Thu, Feb 08, 2024 at 08:07:29AM -0700, Jens Axboe wrote: > 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? Seems good to me, Reviewed-by: Christian Brauner <brauner@xxxxxxxxxx>