summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAnurup m <anurup.m@huawei.com>2013-04-29 15:05:52 -0700
committerBen Hutchings <ben@decadent.org.uk>2013-05-13 15:02:28 +0100
commitcd5c88dffc0627e3de717ae8eaf748554d6f7bd9 (patch)
tree519a8bd59188b61a7daf6fb10b179fd8e545aad2 /drivers
parent17ae25f05e68f0caeddf3590a3e67102a847c8f5 (diff)
downloadlwn-cd5c88dffc0627e3de717ae8eaf748554d6f7bd9.tar.gz
lwn-cd5c88dffc0627e3de717ae8eaf748554d6f7bd9.zip
fs/fscache/stats.c: fix memory leak
commit ec686c9239b4d472052a271c505d04dae84214cc upstream. 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> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions