diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2025-02-24 13:08:52 -0500 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-06-10 22:13:52 -0400 |
| commit | ec169ef86ba45389b353189cf1fc06461163f667 (patch) | |
| tree | ebc833429e07e863fe4d30c00fbc7f091fd7ffd7 /fs/proc/internal.h | |
| parent | new helper: d_splice_alias_ops() (diff) | |
| download | linux-ec169ef86ba45389b353189cf1fc06461163f667.tar.gz linux-ec169ef86ba45389b353189cf1fc06461163f667.zip | |
switch procfs from d_set_d_op() to d_splice_alias_ops()
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/proc/internal.h')
| -rw-r--r-- | fs/proc/internal.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/proc/internal.h b/fs/proc/internal.h index a4054916f6da..520c4742101d 100644 --- a/fs/proc/internal.h +++ b/fs/proc/internal.h @@ -413,7 +413,6 @@ static inline void pde_force_lookup(struct proc_dir_entry *pde) static inline struct dentry *proc_splice_unmountable(struct inode *inode, struct dentry *dentry, const struct dentry_operations *d_ops) { - d_set_d_op(dentry, d_ops); dont_mount(dentry); - return d_splice_alias(inode, dentry); + return d_splice_alias_ops(inode, dentry, d_ops); } |
