Re: [PATCH] fs: allow calling kiocb_end_write() unmatched with kiocb_start_write()

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

 



On Tue, Nov 21, 2023 at 10:50:29PM -0800, Christoph Hellwig wrote:
> On Wed, Nov 22, 2023 at 08:30:01AM +1100, Dave Chinner wrote:
> > I like this a lot better than an internal flag that allows
> > unbalanced start/end calls to proliferate.  I find it much easier to
> > read the code, determine the correct cleanup is being done and
> > maintain the code in future when calls need to be properly
> > paired....
> 
> Agreed.

Agreed.




[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