diff options
author | Luis Chamberlain <mcgrof@kernel.org> | 2021-09-27 15:00:59 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-07-12 16:35:00 +0200 |
commit | dbbcf21ad6a877caae6506ca54aa74967e6f0dbd (patch) | |
tree | 5105b69594491ce6f41f33730d90fdf1cb9f60c5 /drivers/counter | |
parent | 72fa2ea3e0ab859f627ee0bf9b93ca9ba64df95e (diff) |
drbd: add error handling support for add_disk()
[ Upstream commit e92ab4eda516a5bfd96c087282ebe9521deba4f4 ]
We never checked for errors on add_disk() as this function
returned void. Now that this is fixed, use the shiny new
error handling.
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/counter')
0 files changed, 0 insertions, 0 deletions