Re: [PATCH v4] bcache:remove a superfluous check in register_bcache

2020-12-23 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

[PATCH v4] bcache:remove a superfluous check in register_bcache

2020-12-21 Thread Yi Li
There have no reassign the bdev after check It is IS_ERR. the double check !IS_ERR(bdev) is superfluous. After commit 4e7b5671c6a8 ("block: remove i_bdev"), "Switch the block device lookup interfaces to directly work with a dev_t so that struct block_device references are only acquired by the blkd