[PATCH v3 01/11] vfs: add super_iter_inodes()

Andreas Gruenbacher agruenba at redhat.com
Mon Nov 23 11:56:47 UTC 2026


On Mon, Nov 23, 2026 at 9:31 AM Huang Shijie <huangsj at hygon.cn> wrote:
> 在 Fri, Nov 20, 2026 at 03:56:23PM +0100,Andreas Gruenbacher 写道:
> > > +
> > > +int super_iter_inodes(struct super_block *sb, ino_iter_fn iter_fn,
> > > +                     ino_iter_eligible_fn eligible, void *priv, int flags);
> > > +
> > >  struct super_operations {
> > >         struct inode *(*alloc_inode)(struct super_block *sb);
> > >         void (*destroy_inode)(struct inode *inode);
> > > --
> > > 2.53.0
> >
> > Sorry to say, but this has gone quite a bit off course. Can you try a
> > construct like iomap_iter() instead?
>
> Christian had suggested to use the following methed:
>   https://lore.kernel.org/all/20261120-mitverantwortlich-drehbaren-kantholz-241300d20168@brauner/

Yes, that's what I meant.

Thanks,
Andreas




More information about the Linux-security-module-archive mailing list