]> git.karo-electronics.de Git - karo-tx-linux.git/commit
virtio: balloon: fix missing unlock on error in fill_balloon()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 29 Nov 2012 03:17:25 +0000 (14:17 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Dec 2012 05:23:10 +0000 (16:23 +1100)
commit438e825cef3ae3bcca7a2eaa66491cd6f1829851
treef5c613cd7fdcf17b1f5b54965804eba87160a161
parent952fdb1f488c00b4f62d9fd1cde4080412f374a3
virtio: balloon: fix missing unlock on error in fill_balloon()

Add the missing unlock before return from function fill_balloon()
in the error handling case.

Introduced by 9864a8 ("virtio_balloon: introduce migration primitives to
balloon pages").

dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/virtio/virtio_balloon.c