mirror of
https://github.com/xen-project/xen.git
synced 2026-10-30 03:00:05 +01:00
bitkeeper revision 1.636.1.1 (3fcb7b62Mifz8pPYuvEwJUTNwxzVmg)
Propagate return values as far as possible.
This commit is contained in:
1 parent
ad5d9c688d
commit
4da09b3fde
1 file changed
+1
-3
@@ -149,11 +149,9 @@ static inline int do_block_io_op(int xc_handle, block_io_op_t *op)
|
||||
goto out1;
|
||||
}
|
||||
|
||||
if ( do_xen_hypercall(xc_handle, &hypercall) < 0 )
|
||||
if ( (ret = do_xen_hypercall(xc_handle, &hypercall)) < 0 )
|
||||
goto out2;
|
||||
|
||||
ret = 0;
|
||||
|
||||
out2: (void)munlock(op, sizeof(*op));
|
||||
out1: return ret;
|
||||
}
|
||||
|
||||