projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38109b6
)
debugfs: use DCACHE_DONTCACHE
author
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 24 Feb 2025 03:21:14 +0000
(22:21 -0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 11 Jun 2025 17:41:05 +0000
(13:41 -0400)
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/debugfs/inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/debugfs/inode.c
b/fs/debugfs/inode.c
index 29c5ec3823427680c3ac07339e8ca7aec979a7f8..441e3547a4f37867b1617ea84d1efbe3ec6af496 100644
(file)
--- a/
fs/debugfs/inode.c
+++ b/
fs/debugfs/inode.c
@@
-258,7
+258,6
@@
static struct vfsmount *debugfs_automount(struct path *path)
}
static const struct dentry_operations debugfs_dops = {
- .d_delete = always_delete_dentry,
.d_release = debugfs_release_dentry,
.d_automount = debugfs_automount,
};
@@
-274,6
+273,7
@@
static int debugfs_fill_super(struct super_block *sb, struct fs_context *fc)
sb->s_op = &debugfs_super_operations;
set_default_d_op(sb, &debugfs_dops);
+ sb->s_d_flags |= DCACHE_DONTCACHE;
debugfs_apply_options(sb);