diff options
| author | Anurup m <[email protected]> | 2013-04-29 15:05:52 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-04-29 15:54:27 -0700 |
| commit | ec686c9239b4d472052a271c505d04dae84214cc (patch) | |
| tree | 01e572af74153c5d2b5f8bd2dfde74233e00242d /tools/perf/scripts/python | |
| parent | ee8ad7261cd7b18fcf750469402a34b851372814 (diff) | |
fs/fscache/stats.c: fix memory leak
There is a kernel memory leak observed when the proc file
/proc/fs/fscache/stats is read.
The reason is that in fscache_stats_open, single_open is called and the
respective release function is not called during release. Hence fix
with correct release function - single_release().
Addresses https://bugzilla.kernel.org/show_bug.cgi?id=57101
Signed-off-by: Anurup m <[email protected]>
Cc: shyju pv <[email protected]>
Cc: Sanil kumar <[email protected]>
Cc: Nataraj m <[email protected]>
Cc: Li Zefan <[email protected]>
Cc: David Howells <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions