summaryrefslogtreecommitdiffstats
path: root/fs/exfat
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2025-02-23 19:39:47 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2025-06-10 22:21:16 -0400
commit05fb0e666495cda068c068a681ecbbf8e57324d0 (patch)
tree1d7e3bde874c7710b24909b20e8042c57151ea92 /fs/exfat
parentfuse: no need for special dentry_operations for root dentry (diff)
downloadlinux-05fb0e666495cda068c068a681ecbbf8e57324d0.tar.gz
linux-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 <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/exfat')
-rw-r--r--fs/exfat/super.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/exfat/super.c b/fs/exfat/super.c
index 7ed858937d45..ea5c1334a214 100644
--- a/fs/exfat/super.c
+++ b/fs/exfat/super.c
@@ -667,9 +667,9 @@ static int exfat_fill_super(struct super_block *sb, struct fs_context *fc)
}
if (sbi->options.utf8)
- sb->s_d_op = &exfat_utf8_dentry_ops;
+ set_default_d_op(sb, &exfat_utf8_dentry_ops);
else
- sb->s_d_op = &exfat_dentry_ops;
+ set_default_d_op(sb, &exfat_dentry_ops);
root_inode = new_inode(sb);
if (!root_inode) {