Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
cf467516
Commit
cf467516
authored
Jun 10, 2016
by
Leigh B Stoller
Browse files
Minor fixes to previous revision.
parent
89abc31e
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/exports_setup.in
View file @
cf467516
...
@@ -252,7 +252,8 @@ $nodes_result =
...
@@ -252,7 +252,8 @@ $nodes_result =
DBQueryFatal
("
select r.node_id,r.pid,r.eid,e.gid,
"
.
DBQueryFatal
("
select r.node_id,r.pid,r.eid,e.gid,
"
.
"
e.nonfsmounts as enonfs,n.nonfsmounts as nnonfs,
"
.
"
e.nonfsmounts as enonfs,n.nonfsmounts as nnonfs,
"
.
"
i.IP,u.admin,r.sharing_mode,r.erole,nt.isvirtnode,
"
.
"
i.IP,u.admin,r.sharing_mode,r.erole,nt.isvirtnode,
"
.
"
e.nfsmounts as e_nfsmounts,n.nfsmounts as n_nfsmounts
"
.
"
e.nfsmounts as e_nfsmounts,
"
.
"
n.nfsmounts as n_nfsmounts
"
.
"
from reserved as r
"
.
"
from reserved as r
"
.
"
left join experiments as e on r.pid=e.pid and r.eid=e.eid
"
.
"
left join experiments as e on r.pid=e.pid and r.eid=e.eid
"
.
"
left join nodes as n on r.node_id=n.node_id
"
.
"
left join nodes as n on r.node_id=n.node_id
"
.
...
@@ -378,7 +379,8 @@ while ($row = $nodes_result->fetchrow_hashref) {
...
@@ -378,7 +379,8 @@ while ($row = $nodes_result->fetchrow_hashref) {
# Skip nodes that belong to a "no nfs" experiment or are marked "no nfs".
# Skip nodes that belong to a "no nfs" experiment or are marked "no nfs".
next
next
if
(
$enonfs
||
$nnonfs
||
$enfs
==
"
none
"
||
$nnfs
==
"
none
");
if
(
$enonfs
||
$nnonfs
||
$enfs
eq
"
none
"
||
(
defined
(
$nnfs
)
&&
$nnfs
eq
"
none
"));
# Skip non-shared virtnode nodes; NFS mounts are handled differently.
# Skip non-shared virtnode nodes; NFS mounts are handled differently.
next
next
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment