Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
2b392528
Commit
2b392528
authored
Feb 26, 2003
by
ml
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
8d659b96
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
src/exe/rt_neth/src/rt_neth.c
src/exe/rt_neth/src/rt_neth.c
+5
-4
src/exe/rt_neth_acp/src/rt_neth_acp.c
src/exe/rt_neth_acp/src/rt_neth_acp.c
+2
-4
No files found.
src/exe/rt_neth/src/rt_neth.c
View file @
2b392528
...
...
@@ -1034,7 +1034,6 @@ volumes (
gdb_sNode
*
np
;
pwr_tUInt32
nid
=
get
->
sender
.
nid
;
gdb_ScopeLock
{
np
=
hash_Search
(
&
sts
,
gdbroot
->
nid_ht
,
&
nid
);
...
...
@@ -1063,11 +1062,9 @@ volumes (
if
(
vp
->
l
.
flags
.
b
.
isMounted
)
{
errh_Info
(
"!!cvolcm_ConnectVolume %s"
,
&
vmp
->
g
[
i
].
name
);
cvolcm_ConnectVolume
(
&
sts
,
vp
,
&
vmp
->
g
[
i
],
np
);
nConnect
++
;
}
else
{
errh_Info
(
"!!Volume %s is not mounted"
,
&
vmp
->
g
[
i
].
name
);
vmp
->
g
[
i
].
vid
=
pwr_cNVolumeId
;
}
}
...
...
@@ -1100,8 +1097,11 @@ volumes7 (
int
size
;
pwr_tBoolean
ok
=
1
;
size
=
sizeof
(
*
vmp
)
+
((
v7mp
->
count
-
1
)
*
sizeof
(
vmp
->
g
[
0
]));
vmp
=
(
net_sVolumes
*
)
malloc
(
size
);
vmp
->
count
=
0
;
if
(
vmp
==
NULL
)
{
errh_Error
(
"Failed to allocate 'volumes7' from nid %d, count %d"
,
get
->
sender
.
nid
,
v7mp
->
count
);
...
...
@@ -1121,6 +1121,7 @@ volumes7 (
memcpy
(
&
vmp
->
g
[
i
],
&
v7mp
->
g
[
i
],
sizeof
(
v7mp
->
g
[
0
]));
/* The time is only used for class volumes */
memset
(
&
vmp
->
g
[
i
].
time
,
0
,
sizeof
(
vmp
->
g
[
0
].
time
));
vmp
->
count
++
;
}
}
...
...
src/exe/rt_neth_acp/src/rt_neth_acp.c
View file @
2b392528
...
...
@@ -257,8 +257,6 @@ lockMountServers (
msl
=
pool_Qsucc
(
NULL
,
gdbroot
->
pool
,
msl
)
)
{
msp
=
pool_Qitem
(
msl
,
gdb_sMountServer
,
volms_ll
);
errh_Info
(
"!!!!! Found mountserver !!!!!"
);
op
=
hash_Search
(
&
sts
,
gdbroot
->
oid_ht
,
&
msp
->
oid
);
if
(
op
==
NULL
)
{
op
=
cvolc_OidToObject
(
&
sts
,
vp
,
msp
->
oid
,
vol_mTrans_none
,
cvol_eHint_none
);
...
...
@@ -272,7 +270,7 @@ lockMountServers (
op
->
l
.
flags
.
b
.
isMountServer
=
1
;
pool_QinsertPred
(
NULL
,
gdbroot
->
pool
,
&
msp
->
nodms_ll
,
&
np
->
nodms_lh
);
if
(
1
)
errh_Info
(
"Locking object %s"
,
op
->
g
.
f
.
name
.
orig
);
if
(
0
)
errh_Info
(
"Locking object %s"
,
op
->
g
.
f
.
name
.
orig
);
cvolc_LockObject
(
&
sts
,
op
);
}
...
...
Write
Preview
Markdown
is supported
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