commit | 3a92168bc8a113098b44a95d499557a88bb387da | [log] [tgz] |
---|---|---|
author | weiping zhang <zhangweiping@didichuxing.com> | Tue Oct 31 18:38:59 2017 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Nov 19 11:02:13 2017 -0700 |
tree | 6115d091d809f3844ae1894e83c597e8d26d5ac8 | |
parent | a0747a859ef6d3cc5b6cd50eb694499b78dd0025 [diff] |
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 <jack@suse.cz> Signed-off-by: weiping zhang <zhangweiping@didichuxing.com> Adapted for current series by me. Signed-off-by: Jens Axboe <axboe@kernel.dk>