Re: [RFC][PATCH] proc: invalidate the deleting or deleted proc dentry

2017-04-23 Thread Hou Tao
Hi, any comment ? On 2017/4/13 21:49, Hou Tao wrote: > After the invocation of remove_proc_entry() for a proc fs directory, > if the related dentry had been held by some processes (eg., by chdir), > the lookup afterwards will still return the old proc_dir_entry. The > new created proc fs files

Re: [RFC][PATCH] proc: invalidate the deleting or deleted proc dentry

2017-04-23 Thread Hou Tao
Hi, any comment ? On 2017/4/13 21:49, Hou Tao wrote: > After the invocation of remove_proc_entry() for a proc fs directory, > if the related dentry had been held by some processes (eg., by chdir), > the lookup afterwards will still return the old proc_dir_entry. The > new created proc fs files

[RFC][PATCH] proc: invalidate the deleting or deleted proc dentry

2017-04-13 Thread Hou Tao
After the invocation of remove_proc_entry() for a proc fs directory, if the related dentry had been held by some processes (eg., by chdir), the lookup afterwards will still return the old proc_dir_entry. The new created proc fs files under the proc fs directory will not be visible until the old

[RFC][PATCH] proc: invalidate the deleting or deleted proc dentry

2017-04-13 Thread Hou Tao
After the invocation of remove_proc_entry() for a proc fs directory, if the related dentry had been held by some processes (eg., by chdir), the lookup afterwards will still return the old proc_dir_entry. The new created proc fs files under the proc fs directory will not be visible until the old