summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMichael Lyle <mlyle@lyle.org>2017-11-24 15:14:27 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-03 17:04:27 +0100
commit1f9bfbe7016b4a772bb6b47f8209ec76f6fad57d (patch)
tree39830bda1f567fdb9cc8b0453490f38f0ca5eec8 /scripts
parent5fb21a653095dfc913eb82868143a95b5366f0c1 (diff)
bcache: check return value of register_shrinker
[ Upstream commit 6c4ca1e36cdc1a0a7a84797804b87920ccbebf51 ] 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: Michael Lyle <mlyle@lyle.org> Reviewed-by: Vojtech Pavlik <vojtech@suse.com> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions