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

Huang Shijie huangsj at hygon.cn
Mon Nov 23 08:30:35 UTC 2026


在 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/

Thanks
Huang Shijie




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