summaryrefslogtreecommitdiff
path: root/kexec/zlib.c
diff options
context:
space:
mode:
authorBhupesh Sharma <bhsharma@redhat.com>2019-07-15 11:32:53 +0530
committerSimon Horman <horms@verge.net.au>2019-07-16 13:41:08 +0200
commit019d8258f15c2a716786880c3cbd0f327a4dfc09 (patch)
tree7de81b50a266f153e182c35e8f7c120045e3bdf0 /kexec/zlib.c
parentffdc7feceea3831e2ac2afef15909cf6a5a96872 (diff)
kexec/kexec.c: Add the missing close() for fd used for kexec_file_load()
In kexec/kexec.c, we open() the kernel Image file and pass this file descriptor to the kexec_file_load() system call, but never call a corresponding close(). Fix the same via this patch. Signed-off-by: Bhupesh Sharma <bhsharma@redhat.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/zlib.c')
0 files changed, 0 insertions, 0 deletions