loader: bd_open() should cleanup from disk_open() error
Since bd_open() does early increment for reference counter and bcache
allocation, it also should undo those in case of the error.
Also remove unused variables rdev, g_err.
loader: bd_open() should cleanup from disk_open() error Tags None Referenced Files None Subscribers None
Description
Details
|