The patch titled AFS: remove all AFS /proc entries in module cleanup has been removed from the -mm tree. Its filename was afs-remove-all-afs-proc-entries-in-module-cleanup.patch This patch was dropped because it is obsolete ------------------------------------------------------ Subject: AFS: remove all AFS /proc entries in module cleanup From: B N Poornima <poornima@xxxxxxxxxx> This is regarding a bug in the 'kafs' module. Whenever the kafs module is unloaded, it produces the following stack trace. ******************************************************************** kAFS: Red Hat AFS client v0.1 unregistering. BUG: at fs/proc/generic.c:732 remove_proc_entry() [<c0195380>] remove_proc_entry+0x11b/0x175 [<c013b52e>] sys_delete_module+0x1a5/0x1cf [<c0158bc2>] remove_vma+0x36/0x3b [<c01594ca>] do_munmap+0x193/0x1ac [<c0103da0>] syscall_call+0x7/0xb [<c02a0033>] nf_ip_checksum+0xd4/0xe1 ======================= *************************************************************** The problem is reproducible on the latest rc kernel - 2.6.20-rc5. The cause of the problem being kafs driver trying to free the /proc/fs/afs directory which is not empty. Signed-off-by: B N Poornima <poornima@xxxxxxxxxx> Signed-off-by: David Howells <dhowells@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/afs/proc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -puN fs/afs/proc.c~afs-remove-all-afs-proc-entries-in-module-cleanup fs/afs/proc.c --- a/fs/afs/proc.c~afs-remove-all-afs-proc-entries-in-module-cleanup +++ a/fs/afs/proc.c @@ -177,9 +177,8 @@ int afs_proc_init(void) void afs_proc_cleanup(void) { remove_proc_entry("cells", proc_afs); - + remove_proc_entry("rootcell", proc_afs); remove_proc_entry("fs/afs", NULL); - } /* end afs_proc_cleanup() */ /*****************************************************************************/ _ Patches currently in -mm which might be from poornima@xxxxxxxxxx are afs-remove-all-afs-proc-entries-in-module-cleanup.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html