Krzysztof Sachanowicz cac711211a proc: proc_get_inode should de_put when inode already initialized
de_get is called before every proc_get_inode, but corresponding de_put is
called only when dropping last reference to an inode. This might cause
something like
remove_proc_entry: /proc/stats busy, count=14496
to be printed to the syslog.

The fix is to call de_put in case of an already initialized inode in
proc_get_inode.

Signed-off-by: Krzysztof Sachanowicz <analyzer1@gmail.com>
Tested-by: Marcin Pilipczuk <marcin.pilipczuk@gmail.com>
Acked-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-02-23 18:25:32 -08:00
..
2009-01-05 12:27:44 +03:00
2005-04-16 15:20:36 -07:00
2008-10-23 18:54:05 +04:00
2007-10-17 08:42:48 -07:00
2009-01-05 12:27:44 +03:00
2008-07-20 17:12:34 -07:00
2009-01-05 12:27:44 +03:00
2009-01-08 08:31:14 -08:00