aboutsummaryrefslogtreecommitdiffstats
path: root/fs/debugfs/inode.c
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2025-02-24 00:39:47 +0000
committerAl Viro <[email protected]>2025-06-11 02:21:16 +0000
commit05fb0e666495cda068c068a681ecbbf8e57324d0 (patch)
tree1d7e3bde874c7710b24909b20e8042c57151ea92 /fs/debugfs/inode.c
parentfuse: no need for special dentry_operations for root dentry (diff)
downloadkernel-05fb0e666495cda068c068a681ecbbf8e57324d0.tar.gz
kernel-05fb0e666495cda068c068a681ecbbf8e57324d0.zip
new helper: set_default_d_op()
... to be used instead of manually assigning to ->s_d_op. All in-tree filesystem converted (and field itself is renamed, so any out-of-tree ones in need of conversion will be caught by compiler). Reviewed-by: Christian Brauner <[email protected]> Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'fs/debugfs/inode.c')
-rw-r--r--fs/debugfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c
index 30c4944e1862..29c5ec382342 100644
--- a/fs/debugfs/inode.c
+++ b/fs/debugfs/inode.c
@@ -273,7 +273,7 @@ static int debugfs_fill_super(struct super_block *sb, struct fs_context *fc)
return err;
sb->s_op = &debugfs_super_operations;
- sb->s_d_op = &debugfs_dops;
+ set_default_d_op(sb, &debugfs_dops);
debugfs_apply_options(sb);