zhong jiang 4725549192 block/bsg-lib: use PTR_ERR_OR_ZERO to simplify the flow path
Simplify the code by using the PTR_ERR_OR_ZERO, instead of the
open code. It is better.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-08-01 09:13:03 -06:00
..
2018-07-24 14:43:26 -06:00
2018-06-14 17:01:45 +02:00
2018-06-17 05:37:55 +09:00
2018-07-24 14:43:26 -06:00
2018-07-12 08:04:08 -06:00
2018-05-31 10:50:54 -04:00