Not bypassing spin_unlock
PATCH 1/1 Not bypassing spin_unlock
Don't bypass the spin_unlock at the end of the function.
Signed-off-by Stefan Berger <[email protected]>
xen/common/domctl.c +4 -2
@@ -301,8 +305,10 @@ long do_domctl(XEN_GUEST_HANDLE(xen_domcunsigned int domcr_flags;if ( supervisor_mode_kernel || - (op->u.createdomain.flags & ~XEN_DOMCTL_CDF_hvm_guest) ) -return -EINVAL ; + (op->u.createdomain.flags & ~XEN_DOMCTL_CDF_hvm_guest) ) { + ret = -EINVAL ; +break ; + } dom = op->domain;if ( (dom >0 ) && (dom <DOMID_FIRST_RESERVED ) )
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel