commit | 5fae054c2b5a7c10475d2e425dfea0c567c1c5dd | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Feb 02 12:48:09 2016 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Feb 07 21:26:57 2016 -0800 |
tree | dda71124754c5cf778acd00a8bc51c1556e7b636 | |
parent | d40a09464401265e2894061cca388fb86e05b4be [diff] |
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: 2f3be88237a3 ('goldfish_pipe: Pin pages to memory while copying and other cleanups') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>