diff options
| author | Ding Xiang <[email protected]> | 2023-08-30 10:11:48 +0000 |
|---|---|---|
| committer | Mickaël Salaün <[email protected]> | 2023-08-30 16:53:08 +0000 |
| commit | 2a2015495142ee0a35711b5dcf7b215c31489f27 (patch) | |
| tree | ad1bc548c8e46f24549c895201f00d1bff86fbd6 /drivers/cdx/controller/cdx_controller.c | |
| parent | landlock: Annotate struct landlock_rule with __counted_by (diff) | |
| download | kernel-2a2015495142ee0a35711b5dcf7b215c31489f27.tar.gz kernel-2a2015495142ee0a35711b5dcf7b215c31489f27.zip | |
selftests/landlock: Fix a resource leak
The opened file should be closed before return, otherwise resource leak
will occur.
Signed-off-by: Ding Xiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Fixes: 3de64b656b3c ("selftests/landlock: Add supports_filesystem() helper")
Signed-off-by: Mickaël Salaün <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions
