direct-io.hg

changeset 7691:0f62ea79cd8d

Fixed domain refcounting bug (found by inspection)
author mafetter@seana.research.intel-research.net
date Tue Nov 08 11:38:32 2005 +0100 (2005-11-08)
parents d25bdfb2576e
children 6d298cac0e8d
files xen/arch/x86/dom0_ops.c
line diff
     1.1 --- a/xen/arch/x86/dom0_ops.c	Tue Nov 08 11:36:55 2005 +0100
     1.2 +++ b/xen/arch/x86/dom0_ops.c	Tue Nov 08 11:38:32 2005 +0100
     1.3 @@ -263,6 +263,7 @@ long arch_do_dom0_op(dom0_op_t *op, dom0
     1.4          if ( unlikely(num > 1024) )
     1.5          {
     1.6              ret = -E2BIG;
     1.7 +            put_domain(d);
     1.8              break;
     1.9          }
    1.10