aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/sysctl.c
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-03-01 11:38:55 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-03-01 11:38:55 +0000
commit87a9ee252146f0ff026e085880e7322b90bec3a4 (patch)
tree70622c805d3cd7a018e41689073d01ddbded9204 /xen/common/sysctl.c
parent7260c49e052216fa73187ee635a0ee8f50b98508 (diff)
downloadxen-87a9ee252146f0ff026e085880e7322b90bec3a4.tar.gz
xen-87a9ee252146f0ff026e085880e7322b90bec3a4.tar.bz2
xen-87a9ee252146f0ff026e085880e7322b90bec3a4.zip
xen: Cleanups and bug fixes after the rcu_lock_domain patch.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/common/sysctl.c')
-rw-r--r--xen/common/sysctl.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/xen/common/sysctl.c b/xen/common/sysctl.c
index 399523ecfd..789e643ff2 100644
--- a/xen/common/sysctl.c
+++ b/xen/common/sysctl.c
@@ -86,16 +86,9 @@ long do_sysctl(XEN_GUEST_HANDLE(xen_sysctl_t) u_sysctl)
continue;
if ( num_domains == op->u.getdomaininfolist.max_domains )
break;
- if ( (d == NULL) || !get_domain(d) )
- {
- ret = -ESRCH;
- break;
- }
getdomaininfo(d, &info);
- put_domain(d);
-
if ( copy_to_guest_offset(op->u.getdomaininfolist.buffer,
num_domains, &info, 1) )
{