mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-22 07:27:12 +08:00
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>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user