diff options
author | Coly Li <colyli@suse.de> | 2019-04-25 00:48:37 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-04-24 10:56:28 -0600 |
commit | 88c12d42d2bb6e05deb3cfd24d12f6fe80544575 (patch) | |
tree | a468c2ee2f98c1e94073fe7c5b178489c65f7784 /tools/perf/scripts/python | |
parent | 68d10e6979a3b59e3cd2e90bfcafed79c4cf180a (diff) |
bcache: add error check for calling register_bdev()
This patch adds return value to register_bdev(). Then if failure happens
inside register_bdev(), its caller register_bcache() may detect and
handle the failure more properly.
Signed-off-by: Coly Li <colyli@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions