Re: [External] : [PATCH] ocfs2: retire ocfs2_drop_inode() and I_WILL_FREE usage

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

 



On Tue, Sep 9, 2025 at 11:52 AM Mateusz Guzik <mjguzik@xxxxxxxxx> wrote:
>
> On Tue, Sep 9, 2025 at 11:51 AM Jan Kara <jack@xxxxxxx> wrote:
> >
> > On Mon 08-09-25 17:39:22, Mateusz Guzik wrote:
> > > I think generic_delete_inode is a really bad name for what the routine
> > > is doing and it perhaps contributes to the confusion in the thread.
> > >
> > > Perhaps it could be renamed to inode_op_stub_always_drop or similar? I
> > > don't for specifics, apart from explicitly stating that the return
> > > value is to drop and bonus points for a prefix showing this is an
> > > inode thing.
> >
> > I think inode_always_drop() would be fine...
>
> sgtm. unfortunately there are quite a few consumers, so I don't know
> if this is worth the churn and consequently I'm not going for it.
>
> But should you feel inclined... ;-)

Actually got one better: inode_just_drop(), so that it is clear this
is not doing anything else.

Perhaps something to do after the dust settles.
-- 
Mateusz Guzik <mjguzik gmail.com>





[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