Re: [PATCH] fs/devpts: always delete dcache dentry-s in dput()

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

 



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.



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux