mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 01:13:11 +00:00
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: 3de64b656b ("selftests/landlock: Add supports_filesystem() helper")
Signed-off-by: Mickaël Salaün <[email protected]>