ia64/xen-unstable

changeset 1805:70dea4b6904d

bitkeeper revision 1.1096.1.1 (40f6a8c7wXaMcm4UCjotaqA0KGAqcQ)

Fix an error-path bug in Xen.
author kaf24@scramble.cl.cam.ac.uk
date Thu Jul 15 15:54:47 2004 +0000 (2004-07-15)
parents 49364b76a968
children 81936d3b712c
files xen/arch/x86/x86_32/mm.c
line diff
     1.1 --- a/xen/arch/x86/x86_32/mm.c	Thu Jul 15 13:22:35 2004 +0000
     1.2 +++ b/xen/arch/x86/x86_32/mm.c	Thu Jul 15 15:54:47 2004 +0000
     1.3 @@ -320,7 +320,7 @@ long do_update_descriptor(
     1.4  
     1.5      page = &frame_table[pfn];
     1.6      if ( unlikely(!get_page(page, current)) )
     1.7 -        goto out;
     1.8 +        return -EINVAL;
     1.9  
    1.10      /* Check if the given frame is in use in an unsafe context. */
    1.11      switch ( page->type_and_flags & PGT_type_mask )