]> www.infradead.org Git - users/hch/misc.git/commit
vfs: inline new_inode_pseudo() and de-staticize alloc_inode()
authorMateusz Guzik <mjguzik@gmail.com>
Wed, 12 Feb 2025 18:04:59 +0000 (19:04 +0100)
committerChristian Brauner <brauner@kernel.org>
Fri, 21 Feb 2025 09:25:32 +0000 (10:25 +0100)
commit1479be62582dbd2078390ef609f8f5ef351c15e8
tree2f9348a9795179457b6cdc066e416a8d29a68e7e
parentda06e3c5179467f9ef7caffb512ef111a70afde1
vfs: inline new_inode_pseudo() and de-staticize alloc_inode()

The former is a no-op wrapper with the same argument.

I left it in place to not lose the information who needs it -- one day
"pseudo" inodes may start differing from what alloc_inode() returns.

In the meantime no point taking a detour.

Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Link: https://lore.kernel.org/r/20250212180459.1022983-1-mjguzik@gmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/inode.c
include/linux/fs.h