linux/fs/proc
Kirill Korotaev e954365971 [PATCH] proc: fix of error path in proc_get_inode()
This patch fixes incorrect error path in proc_get_inode(), when module
can't be get due to being unloaded.  When try_module_get() fails, this
function puts de(!) and still returns inode with non-getted de.

There are still unresolved known bugs in proc yet to be fixed:
- proc_dir_entry tree is managed without any serialization
- create_proc_entry() doesn't setup de->owner anyhow,
   so setting it later manually is inatomic.
- looks like almost all modules do not care whether
   it's de->owner is set...

Signed-Off-By: Denis Lunev <den@sw.ru>
Signed-Off-By: Kirill Korotaev <dev@sw.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-30 17:37:21 -08:00
..
array.c [PATCH] mm: rss = file_rss + anon_rss 2005-10-29 21:40:38 -07:00
base.c [PATCH] nommu build error fix 2005-10-14 17:10:13 -07:00
generic.c [PATCH] reduce sizeof(struct file) 2005-10-30 17:37:19 -08:00
inode-alloc.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
inode.c [PATCH] proc: fix of error path in proc_get_inode() 2005-10-30 17:37:21 -08:00
internal.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kcore.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kmsg.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] kdump: Access dump file in elf format (/proc/vmcore) 2005-06-25 16:24:53 -07:00
mmu.c [PATCH] fix impossible VmallocChunk 2005-05-17 07:59:10 -07:00
nommu.c [PATCH] output of /proc/maps on nommu systems is incomplete 2005-10-17 17:03:57 -07:00
proc_devtree.c [PATCH] ppc32/ppc64: cleanup /proc/device-tree 2005-06-01 07:54:14 -07:00
proc_misc.c [PATCH] kdump: Access dump file in elf format (/proc/vmcore) 2005-06-25 16:24:53 -07:00
proc_tty.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
root.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
task_mmu.c [PATCH] mm: follow_page with inner ptlock 2005-10-29 21:40:41 -07:00
task_nommu.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vmcore.c [PATCH] kdump: Parse elf32 headers and export through /proc/vmcore 2005-06-25 16:24:53 -07:00