aboutsummaryrefslogtreecommitdiff
path: root/fs/ubifs/super.c
diff options
context:
space:
mode:
authorGravatar Gabriel Krisman Bertazi <krisman@suse.de> 2024-02-21 12:14:11 -0500
committerGravatar Gabriel Krisman Bertazi <krisman@suse.de> 2024-02-27 16:55:35 -0500
commitbc401c2900c128d3d69482769f1300502a9f0598 (patch)
treecdb5a1e69bd50809cb8dee06da47156fd1df818f /fs/ubifs/super.c
parentf2fs: Configure dentry operations at dentry-creation time (diff)
downloadlinux-bc401c2900c128d3d69482769f1300502a9f0598.tar.gz
linux-bc401c2900c128d3d69482769f1300502a9f0598.tar.bz2
linux-bc401c2900c128d3d69482769f1300502a9f0598.zip
ubifs: Configure dentry operations at dentry-creation time
fscrypt now supports configuring dentry operations at dentry-creation time through the preset sb->s_d_op, instead of at lookup time. Enable this in ubifs, since the lookup-time mechanism is going away. Reviewed-by: Eric Biggers <ebiggers@google.com> Link: https://lore.kernel.org/r/20240221171412.10710-10-krisman@suse.de Signed-off-by: Gabriel Krisman Bertazi <krisman@suse.de>
Diffstat (limited to 'fs/ubifs/super.c')
-rw-r--r--fs/ubifs/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c
index 09e270d6ed02..304646b03e99 100644
--- a/fs/ubifs/super.c
+++ b/fs/ubifs/super.c
@@ -2239,6 +2239,7 @@ static int ubifs_fill_super(struct super_block *sb, void *data, int silent)
goto out_umount;
}
+ generic_set_sb_d_ops(sb);
sb->s_root = d_make_root(root);
if (!sb->s_root) {
err = -ENOMEM;