Skip to content
Commit 49d08d59 authored by Coly Li's avatar Coly Li Committed by Jens Axboe
Browse files

bcache: check return value of prio_read()



Now if prio_read() failed during starting a cache set, we can print
out error message in run_cache_set() and handle the failure properly.

Signed-off-by: default avatarColy Li <colyli@suse.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent d1c3cc34
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment