diff options
author | Philipp Rudo <prudo@linux.ibm.com> | 2018-08-13 11:16:57 +0200 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2018-08-16 14:49:14 +0200 |
commit | 2d2e7075b87181ed0c675e4936e20bdadba02e1f (patch) | |
tree | 6a2e3f137a264539e74aac4e310a8d6ac2a3c986 /fs/jfs | |
parent | 263b0e480c9b0fda77a89f5d6375d8a39de5c166 (diff) | |
download | linux-2d2e7075b87181ed0c675e4936e20bdadba02e1f.tar.bz2 |
s390/kdump: Fix memleak in nt_vmcoreinfo
The vmcoreinfo of a crashed system is potentially fragmented. Thus the
crash kernel has an intermediate step where the vmcoreinfo is copied into a
temporary, continuous buffer in the crash kernel memory. This temporary
buffer is never freed. Free it now to prevent the memleak.
While at it replace all occurrences of "VMCOREINFO" by its corresponding
macro to prevent potential renaming issues.
Signed-off-by: Philipp Rudo <prudo@linux.ibm.com>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'fs/jfs')
0 files changed, 0 insertions, 0 deletions