Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx> --- fs/afs/dynroot.c | 1 - fs/afs/super.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/afs/dynroot.c b/fs/afs/dynroot.c index d8bf52f77d93..2fad2987a6dc 100644 --- a/fs/afs/dynroot.c +++ b/fs/afs/dynroot.c @@ -211,7 +211,6 @@ const struct inode_operations afs_dynroot_inode_operations = { }; const struct dentry_operations afs_dynroot_dentry_operations = { - .d_delete = always_delete_dentry, .d_release = afs_d_release, .d_automount = afs_d_automount, }; diff --git a/fs/afs/super.c b/fs/afs/super.c index 13d0414a1ddb..b48f524c1cb6 100644 --- a/fs/afs/super.c +++ b/fs/afs/super.c @@ -488,6 +488,7 @@ static int afs_fill_super(struct super_block *sb, struct afs_fs_context *ctx) if (as->dyn_root) { set_default_d_op(sb, &afs_dynroot_dentry_operations); + sb->s_d_flags |= DCACHE_DONTCACHE; ret = afs_dynroot_populate(sb); if (ret < 0) goto error; -- 2.39.5