diff options
| author | Krzysztof Sachanowicz <[email protected]> | 2009-02-23 21:21:55 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-02-24 02:25:32 +0000 |
| commit | cac711211a039ae2e2dc6322ffb3c2279d093bf1 (patch) | |
| tree | a910c047f30616462bb8312b86b0caff8a56fa85 /net/ipv4/tcp_output.c | |
| parent | i915: suspend/resume interrupt state (diff) | |
| download | kernel-cac711211a039ae2e2dc6322ffb3c2279d093bf1.tar.gz kernel-cac711211a039ae2e2dc6322ffb3c2279d093bf1.zip | |
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 <[email protected]>
Tested-by: Marcin Pilipczuk <[email protected]>
Acked-by: Al Viro <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions
