Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
block: add WARN_ON if bdi register fail
device_add_disk need do more safety error handle, so this patch just add WARN_ON. Reviewed-by: Jan Kara <[email protected]> Signed-off-by: weiping zhang <[email protected]> Adapted for current series by me. Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information