Skip to content

Commit 82a3c88

Browse files
author
Al Viro
committed
debugfs: use DCACHE_DONTCACHE
Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 38109b6 commit 82a3c88

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/debugfs/inode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,6 @@ static struct vfsmount *debugfs_automount(struct path *path)
258258
}
259259

260260
static const struct dentry_operations debugfs_dops = {
261-
.d_delete = always_delete_dentry,
262261
.d_release = debugfs_release_dentry,
263262
.d_automount = debugfs_automount,
264263
};
@@ -274,6 +273,7 @@ static int debugfs_fill_super(struct super_block *sb, struct fs_context *fc)
274273

275274
sb->s_op = &debugfs_super_operations;
276275
set_default_d_op(sb, &debugfs_dops);
276+
sb->s_d_flags |= DCACHE_DONTCACHE;
277277

278278
debugfs_apply_options(sb);
279279

0 commit comments

Comments
 (0)