From: Krzysztof Sachanowicz Date: Mon, 23 Feb 2009 21:21:55 +0000 (+0100) Subject: proc: proc_get_inode should de_put when inode already initialized X-Git-Tag: v2.6.29-rc7~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cac711211a039ae2e2dc6322ffb3c2279d093bf1;p=pandora-kernel.git 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 Tested-by: Marcin Pilipczuk Acked-by: Al Viro Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed