Re: [PATCH] fs/devpts: always delete dcache dentry-s in dput()
From: Al Viro
Date: Thu Jan 24 2019 - 13:20:37 EST
On Thu, Jan 24, 2019 at 02:03:06PM +0100, vrd@xxxxxxxxxx wrote:
> diff --git a/fs/devpts/inode.c b/fs/devpts/inode.c
> index c538145..553a3f3 100644
> --- a/fs/devpts/inode.c
> +++ b/fs/devpts/inode.c
> @@ -455,6 +455,7 @@ devpts_fill_super(struct super_block *s, void *data, int silent)
> s->s_blocksize_bits = 10;
> s->s_magic = DEVPTS_SUPER_MAGIC;
> s->s_op = &devpts_sops;
> + s->s_d_op = &simple_dentry_operations;
> s->s_time_gran = 1;
>
> error = -ENOMEM;
Applied.