[PATCH] fix bdev leak in block_dev.c do_open()
Callers expect it to drop reference to bdev on all failure exits.
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Showing
想要评论请 注册 或 登录
Callers expect it to drop reference to bdev on all failure exits.
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>