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
inode.c [PATCH] proc: fix of error path in proc_get_inode() 2005-10-30 17:37:21 -08:00
internal.h
kcore.c
kmsg.c
Makefile
mmu.c
nommu.c [PATCH] output of /proc/maps on nommu systems is incomplete 2005-10-17 17:03:57 -07:00
proc_devtree.c
proc_misc.c
proc_tty.c
root.c
task_mmu.c [PATCH] mm: follow_page with inner ptlock 2005-10-29 21:40:41 -07:00
task_nommu.c
vmcore.c