]> git.baikalelectronics.ru Git - kernel.git/commit
swim3: add real error handling in setup
authorOmar Sandoval <osandov@fb.com>
Thu, 11 Oct 2018 19:20:43 +0000 (12:20 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 16 Oct 2018 15:49:26 +0000 (09:49 -0600)
commit67d2e2e69edf7485ffc80e8e1539946b1d97ea22
tree7497a8d07bbeac095cffcfcba481dd55ed2a67a2
parent6e452673933c8262a74cc47b0995833c1c277ba6
swim3: add real error handling in setup

The driver doesn't have support for removing a device that has already
been configured, but with more careful ordering we can avoid the need
for that and make sure that we don't leak generic resources.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/swim3.c