Commit 08880117 authored by Claes Sjofors's avatar Claes Sjofors

Gdh bugfix for subscriptions on remotely mounted objects

parent d97e8186
...@@ -103,6 +103,11 @@ fetch ( ...@@ -103,6 +103,11 @@ fetch (
} }
for (i = 0, gop = &rsp->g[0]; i < rsp->count; i++, gop++) { for (i = 0, gop = &rsp->g[0]; i < rsp->count; i++, gop++) {
if ( vp->g.vid != gop->oid.vid) {
net_Free(NULL, rsp);
pwr_Return(NULL, sts, GDH__REMOTEMOUNT);
}
op = cvol_LoadObject(&lsts, np, vp, gop); op = cvol_LoadObject(&lsts, np, vp, gop);
if (cdh_ObjidIsEqual(gop->oid, rsp->oid)) { if (cdh_ObjidIsEqual(gop->oid, rsp->oid)) {
/* This is the referenced object. */ /* This is the referenced object. */
......
...@@ -100,6 +100,7 @@ noobject <AttrRef is not an object> /error ...@@ -100,6 +100,7 @@ noobject <AttrRef is not an object> /error
file <Unable to open file> /error file <Unable to open file> /error
convert <Unable to convert value> /error convert <Unable to convert value> /error
readonly <Object or attribute is read only> /error readonly <Object or attribute is read only> /error
remotemount <Remotly mounted object> /error
.end .end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment