Thread (33 messages) 33 messages, 10 authors, 2023-02-03

Re: make alloc_anon_inode more useful

From: Jason Gunthorpe <jgg@nvidia.com>
Date: 2021-03-09 16:55:38
Also in: dri-devel, linux-fsdevel, linuxppc-dev, lkml

On Tue, Mar 09, 2021 at 04:53:39PM +0100, Christoph Hellwig wrote:
Hi all,

this series first renames the existing alloc_anon_inode to
alloc_anon_inode_sb to clearly mark it as requiring a superblock.

It then adds a new alloc_anon_inode that works on the anon_inode
file system super block, thus removing tons of boilerplate code.

The few remainig callers of alloc_anon_inode_sb all use alloc_file_pseudo
later, but might also be ripe for some cleanup.
I like it

For a submission plan can we have this on a git branch please? I will
need a copy for RDMA and Alex will need one for vfio..

Thanks,
Jason
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help