Skip to content
Commit 6c4ca1e3 authored by Michael Lyle's avatar Michael Lyle Committed by Jens Axboe
Browse files

bcache: check return value of register_shrinker



register_shrinker is now __must_check, so check it to kill a warning.
Caller of bch_btree_cache_alloc in super.c appropriately checks return
value so this is fully plumbed through.

This V2 fixes checkpatch warnings and improves the commit description,
as I was too hasty getting the previous version out.

Signed-off-by: default avatarMichael Lyle <mlyle@lyle.org>
Reviewed-by: default avatarVojtech Pavlik <vojtech@suse.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent e393aa24
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