diff --git a/src/viced/callback.c b/src/viced/callback.c index efef03b3db..809dce2d27 100644 --- a/src/viced/callback.c +++ b/src/viced/callback.c @@ -537,6 +537,8 @@ AddCallBack1_r(struct host *host, AFSFid * fid, afs_uint32 * thead, int type, struct CallBack *newcb = 0; int safety; + cbstuff.AddCallBacks++; + host->Console |= 2; /* allocate these guys first, since we can't call the allocator with @@ -861,9 +863,9 @@ DeleteCallBack(struct host *host, AFSFid * fid) register afs_uint32 *pcb; char hoststr[16]; + H_LOCK; cbstuff.DeleteCallBacks++; - H_LOCK; h_Lock_r(host); fe = FindFE(fid); if (!fe) {