ndctl
ndctl copied to clipboard
nstype_clear_badblocks fails to report failures
If bus_send_clear() fails, but ndctl_namespace_enable() succeeds then the failure result will be swallowed and upper layers assume the clearing succeeded.