Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libndctl: fix an unhandled return in ndctl_bus_poll_scrub_completion()
Static analysis warns that we were not checking the return value from the call to open(2) in ndctl_bus_poll_scrub_completion(). Add the checking and error out for this case. Cc: Dan Williams <[email protected]> Reviewed-by: Dan Williams <[email protected]> Signed-off-by: Vishal Verma <[email protected]>
- Loading branch information