goldfish: locking bugs in goldfish_pipe_read_write()
We recently messed up the error handling here. We can return with the pipe->lock held or sometimes we unlock twice by mistake. Fixes: 2f3be882 ('goldfish_pipe: Pin pages to memory while copying and other cleanups') Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Reviewed-by: NChristoffer Dall <christoffer.dall@linaro.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录