]> www.infradead.org Git - users/jedix/linux-maple.git/commit
vfs: rename parent_ino to d_parent_ino and make it use RCU
authorMateusz Guzik <mjguzik@gmail.com>
Thu, 27 Jun 2024 16:11:52 +0000 (18:11 +0200)
committerChristian Brauner <brauner@kernel.org>
Thu, 27 Jun 2024 16:34:21 +0000 (18:34 +0200)
commitf378ec4eec8b7e607dbc0112913fd3d5d84eb1b8
tree45570ee52d656a075d9b8b1ee2b2379f58e49648
parent0ef625bba6fb2bc0c8ed2aab9524fdf423f67dd5
vfs: rename parent_ino to d_parent_ino and make it use RCU

The routine is used by procfs through dir_emit_dots.

The combined RCU and lock fallback implementation is too big for an
inline. Given that the routine takes a dentry argument fs/dcache.c seems
like the place to put it in.

Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Link: https://lore.kernel.org/r/20240627161152.802567-1-mjguzik@gmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/dcache.c
fs/f2fs/file.c
fs/hfsplus/ioctl.c
include/linux/dcache.h
include/linux/fs.h