mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
debugfs: use DCACHE_DONTCACHE
Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user