Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ndctl/namespace: Fix a resource leak in file_write_infoblock
Static analysis reported that we were leaking 'fd' in one case in the above function, fix the error handling to go through the 'out' label. Cc: Dan Williams <[email protected]> Reviewed-by: Dan Williams <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vishal Verma <[email protected]>
- Loading branch information