Re: [PATCH v9 1/2] Add do_ftruncate that truncates a struct file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux