Commit 1acb3930 authored by claes's avatar claes

No checks when reloading a volume object

parent 9644f09b
/* /*
* Proview $Id: ini.c,v 1.27 2007-04-30 07:27:59 claes Exp $ * Proview $Id: ini.c,v 1.28 2007-05-07 12:35:34 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -192,15 +192,17 @@ reloadObject ( ...@@ -192,15 +192,17 @@ reloadObject (
op = oidToObject(oh->oid); op = oidToObject(oh->oid);
if (op != NULL) { if (op != NULL) {
op->u.n.flags.b.swapDelete = 0; op->u.n.flags.b.swapDelete = 0;
flags.b.father = op->g.f.poid.oix != oh->poid.oix; if (op->g.oid.oix != 0) {
flags.b.name = strcmp(op->g.f.name.orig, oh->name) != 0; flags.b.father = op->g.f.poid.oix != oh->poid.oix;
flags.b.server = op->g.flags.m & net_mGo_isClient && cdh_ObjidIsNotEqual(op->g.soid, oh->soid); flags.b.name = strcmp(op->g.f.name.orig, oh->name) != 0;
flags.b.classid = op->g.cid != oh->cid; flags.b.server = op->g.flags.m & net_mGo_isClient && cdh_ObjidIsNotEqual(op->g.soid, oh->soid);
flags.b.size = !op->g.flags.b.isAliasClient && op->g.size != oh->rbody.size; flags.b.classid = op->g.cid != oh->cid;
flags.b.flags = op->u.n.lflags.m != oh->flags.m; flags.b.size = !op->g.flags.b.isAliasClient && op->g.size != oh->rbody.size;
flags.b.body = time_Acomp(&op->u.n.time, &oh->rbody.time) != 0; flags.b.flags = op->u.n.lflags.m != oh->flags.m;
// flags.b.body = time_Acomp(&op->u.n.time, &oh->rbody.time) != 0;
flags.b.body = time_Acomp(&op->u.n.time, &oh->time) != 0;
}
} else { } else {
flags.b.created = 1; flags.b.created = 1;
op = ivol_LoadObject(sts, vp, oh, vol_mLink_swapLoad); op = ivol_LoadObject(sts, vp, oh, vol_mLink_swapLoad);
......
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