git://git.onelab.eu
/
util-vserver-pl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3b1cb45
)
Typos...
author
Sapan Bhatia
<sapanb@cs.princeton.edu>
Tue, 14 Oct 2008 17:11:05 +0000
(17:11 +0000)
committer
Sapan Bhatia
<sapanb@cs.princeton.edu>
Tue, 14 Oct 2008 17:11:05 +0000
(17:11 +0000)
src/planetlab.c
patch
|
blob
|
history
diff --git
a/src/planetlab.c
b/src/planetlab.c
index
447c858
..
92042fb
100644
(file)
--- a/
src/planetlab.c
+++ b/
src/planetlab.c
@@
-99,7
+99,7
@@
process:
if (unshare_flags != 0) {
unshare(unshare_flags);
- unshare_flags |= vc_space_mask();
+ unshare_flags |= vc_
get_
space_mask();
vc_set_namespace(ctx, unshare_flags);
}
@@
-196,7
+196,7
@@
pl_chcontext(xid_t ctx, uint64_t bcaps, const struct sliver_resources *slr)
/* Unshare the net namespace if the slice if requested in the local slice configuration */
unshare_flags = get_space_flag(ctx);
if (unshare_flags != 0) {
- unshare
|=vc_space_flags
();
+ unshare
_flags |=vc_get_space_mask
();
vc_enter_namespace(ctx, unshare_flags);
}