Re: [PATCH v2] selftests/mount: Close 'fd' when write fails
From: Ritvik Gupta
Date: Sat Feb 22 2025 - 23:24:38 EST
Yes, the kernel will handle the 'fd' cleanup automatically, but
the existing implementation already closes it before exiting.
However, in case where write fails, its unhandled.
This patch addresses that gap :)
Nevertheless it's subjective indeed.
Thanks for reviewing!
Regards
Ritvik