Re: [PATCH 19/21] debugfs: use DCACHE_DONTCACHE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 24, 2025 at 09:20:49PM +0000, Al Viro wrote:
> Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
> ---

Reviewed-by: Christian Brauner <brauner@xxxxxxxxxx>

>  fs/debugfs/inode.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c
> index f54a8fd960e4..1c71d9932a67 100644
> --- 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);
>  
> -- 
> 2.39.5
> 




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux