From 1205cdb684ee5e2fcbb96900544379695e466cff Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Sun, 13 Jan 2008 18:26:17 +0000 Subject: [PATCH] Only migrate to the tag once. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2660 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- lib/syscall_tagmigrate-v23.hc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/syscall_tagmigrate-v23.hc b/lib/syscall_tagmigrate-v23.hc index bbb2446..657dc5d 100644 --- a/lib/syscall_tagmigrate-v23.hc +++ b/lib/syscall_tagmigrate-v23.hc @@ -23,5 +23,6 @@ static inline ALWAYSINLINE int vc_tag_migrate_tag(tag_t tag) { - return TAG_KERNEL2USER(vserver(VCMD_tag_migrate, TAG_USER2KERNEL(tag), NULL)); + tag_t res = vserver(VCMD_tag_migrate, TAG_USER2KERNEL(tag), NULL); + return TAG_KERNEL2USER(res); } -- 1.8.1.5