From: Daniel Hokka Zakrisson Date: Sun, 13 Jan 2008 18:26:17 +0000 (+0000) Subject: Only migrate to the tag once. X-Git-Tag: release-0.30.215~47 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1205cdb684ee5e2fcbb96900544379695e466cff;p=util-vserver.git Only migrate to the tag once. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2660 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- 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); }