summaryrefslogtreecommitdiff
path: root/arch/x86/kernel
diff options
context:
space:
mode:
authorAnurup m <anurup.m@huawei.com>2013-04-30 02:05:52 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-30 02:54:27 +0400
commitec686c9239b4d472052a271c505d04dae84214cc (patch)
tree01e572af74153c5d2b5f8bd2dfde74233e00242d /arch/x86/kernel
parentee8ad7261cd7b18fcf750469402a34b851372814 (diff)
downloadlinux-ec686c9239b4d472052a271c505d04dae84214cc.tar.xz
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>
Diffstat (limited to 'arch/x86/kernel')
0 files changed, 0 insertions, 0 deletions