From: Martin KaFai Lau Date: Thu, 22 Sep 2022 23:11:35 +0000 (-0700) Subject: Merge branch 'Fix resource leaks in test_maps' X-Git-Tag: block-6.1-2022-13-10~73^2~10^2~29 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=ee9bb9b4459ab7e27de9c9f91773ade2909c6375;p=linux-block.git Merge branch 'Fix resource leaks in test_maps' Hou Tao says: ==================== From: Hou Tao Hi, It is just a tiny patch set aims to fix the resource leaks in test_maps after test case succeeds or is skipped. And these leaks are spotted by using address sanitizer and checking the content of /proc/$pid/fd. Please see indiviual patch for more details. Change Log: v2: * Add the missing header file unistd.h for close() (From kernel-patches/bpf) The reason Why I miss that is that -Werror is removed from Makefile when enabling clang address sanitizer. v1: * https://lore.kernel.org/bpf/20220921025855.115463-1-houtao@huaweicloud.com/T/ ==================== Signed-off-by: Martin KaFai Lau --- ee9bb9b4459ab7e27de9c9f91773ade2909c6375