* [folded-dropped] virtio_balloon-introduce-migration-primitives-to-balloon-pages-fix.patch removed from -mm tree
@ 2012-11-15 19:55 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2012-11-15 19:55 UTC (permalink / raw)
To: yongjun_wei, mm-commits
The patch titled
Subject: virtio: balloon: fix missing unlock on error in fill_balloon()
has been removed from the -mm tree. Its filename was
virtio_balloon-introduce-migration-primitives-to-balloon-pages-fix.patch
This patch was dropped because it was folded into virtio_balloon-introduce-migration-primitives-to-balloon-pages.patch
------------------------------------------------------
From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Subject: 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 | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff -puN drivers/virtio/virtio_balloon.c~virtio_balloon-introduce-migration-primitives-to-balloon-pages-fix drivers/virtio/virtio_balloon.c
--- a/drivers/virtio/virtio_balloon.c~virtio_balloon-introduce-migration-primitives-to-balloon-pages-fix
+++ a/drivers/virtio/virtio_balloon.c
@@ -152,8 +152,10 @@ static void fill_balloon(struct virtio_b
}
/* Didn't get any? Oh well. */
- if (vb->num_pfns == 0)
+ if (vb->num_pfns == 0) {
+ mutex_unlock(&vb->balloon_lock);
return;
+ }
tell_host(vb, vb->inflate_vq);
mutex_unlock(&vb->balloon_lock);
_
Patches currently in -mm which might be from yongjun_wei@trendmicro.com.cn are
linux-next.patch
virtio_balloon-introduce-migration-primitives-to-balloon-pages.patch
virtio_balloon-introduce-migration-primitives-to-balloon-pages-fix-fix.patch
virtio_balloon-introduce-migration-primitives-to-balloon-pages-fix-fix-fix.patch
procfs-use-kbasename-fix.patch
rtc-avoid-calling-platform_device_put-twice-in-test_init.patch
rtc-avoid-calling-platform_device_put-twice-in-test_init-fix.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-11-15 19:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-15 19:55 [folded-dropped] virtio_balloon-introduce-migration-primitives-to-balloon-pages-fix.patch removed from -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.