linux/fs/fscache
Anurup m ec686c9239 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 <anurup.m@huawei.com>
Cc: shyju pv <shyju.pv@huawei.com>
Cc: Sanil kumar <sanil.kumar@huawei.com>
Cc: Nataraj m <nataraj.m@huawei.com>
Cc: Li Zefan <lizefan@huawei.com>
Cc: David Howells <dhowells@redhat.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-04-29 15:54:27 -07:00
..
cache.c FS-Cache: Limit the number of I/O error reports for a cache 2012-12-20 22:10:44 +00:00
cookie.c hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
fsdef.c
histogram.c
internal.h FS-Cache: Clear remaining page count on retrieval cancellation 2012-12-20 22:35:15 +00:00
Kconfig
main.c
Makefile
netfs.c
object-list.c FS-Cache: Don't mask off the object event mask when printing it 2012-12-20 22:08:53 +00:00
object.c FS-Cache: Add transition to handle invalidate immediately after lookup 2012-12-20 22:19:22 +00:00
operation.c FS-Cache: Clear remaining page count on retrieval cancellation 2012-12-20 22:35:15 +00:00
page.c FS-Cache: Clear remaining page count on retrieval cancellation 2012-12-20 22:35:15 +00:00
proc.c
stats.c fs/fscache/stats.c: fix memory leak 2013-04-29 15:54:27 -07:00