On Mon, Feb 24, 2025 at 09:20:48PM +0000, Al Viro wrote: > Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx> > --- Reviewed-by: Christian Brauner <brauner@xxxxxxxxxx> > fs/efivarfs/super.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/efivarfs/super.c b/fs/efivarfs/super.c > index 3f3188e0cfa7..e5d3147cfcea 100644 > --- a/fs/efivarfs/super.c > +++ b/fs/efivarfs/super.c > @@ -175,7 +175,6 @@ static int efivarfs_d_hash(const struct dentry *dentry, struct qstr *qstr) > static const struct dentry_operations efivarfs_d_ops = { > .d_compare = efivarfs_d_compare, > .d_hash = efivarfs_d_hash, > - .d_delete = always_delete_dentry, > }; > > static struct dentry *efivarfs_alloc_dentry(struct dentry *parent, char *name) > @@ -346,6 +345,7 @@ static int efivarfs_fill_super(struct super_block *sb, struct fs_context *fc) > sb->s_magic = EFIVARFS_MAGIC; > sb->s_op = &efivarfs_ops; > set_default_d_op(sb, &efivarfs_d_ops); > + sb->s_d_flags |= DCACHE_DONTCACHE; > sb->s_time_gran = 1; > > if (!efivar_supports_writes()) > -- > 2.39.5 >