[PATCH] AFS: Remove all AFS /proc entries in module cleanup

Pete Zaitcev zaitcev at redhat.com
Wed Feb 28 12:50:38 EST 2007


On Wed, 28 Feb 2007 13:20:11 +0000, David Howells <dhowells at redhat.com> wrote:

> +++ b/fs/afs/proc.c
> @@ -179,6 +179,8 @@ void afs_proc_cleanup(void)
>  	remove_proc_entry("rootcell", proc_afs);       <======= Same?
>  	remove_proc_entry("cells", proc_afs);
>  
> +	remove_proc_entry("rootcell", proc_afs);       <======= Same?
> +
>  	remove_proc_entry("fs/afs", NULL);

This is entirely too weird. How does this work? It adds exactly the same
remove_proc_entry() as the one above it.

-- Pete



More information about the linux-afs mailing list