bcache: add more error message in bch_cached_dev_attach()
authorColy Li <colyli@suse.de>
Fri, 28 Jun 2019 11:59:38 +0000 (19:59 +0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 28 Jun 2019 13:39:15 +0000 (07:39 -0600)
commit633bb2ce60b949e2990c15324be162c54788c027
tree7c47528c1495dbf511d4f65b4429a580bbaef98f
parent4b6efb4bdbce25097f1a6329e18c2b77c4f27722
bcache: add more error message in bch_cached_dev_attach()

This patch adds more error message for attaching cached device, this is
helpful to debug code failure during bache device start up.

Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/super.c