make d_set_d_op() static
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 24 Feb 2025 01:18:15 +0000 (20:18 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 11 Jun 2025 17:39:52 +0000 (13:39 -0400)
commit691fb82ca6ccdcdb9e60e754b55659271d5280e7
tree8e1316e8b13c3bdb13a4278931dfed387722fc6c
parenta97dc087da06b69ae976765d59810ca705e8dae1
make d_set_d_op() static

Convert the last user (d_alloc_pseudo()) and be done with that.
Any out-of-tree filesystem using it should switch to d_splice_alias_ops()
or, better yet, check whether it really needs to have ->d_op vary among
its dentries.

Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Documentation/filesystems/porting.rst
fs/dcache.c
include/linux/dcache.h