cm_check_usedbytes_consistency();
cm_access (VenusFid fid, int mode, CredCacheEntry* ce){     FCacheEntry *entry;     Result ret;     int error;     error = fcache_get (&entry, fid, ce);     if (error) {	 ret.res   = -1;	 ret.error = error;	 return ret;     }     error = fcache_get_attr (entry, ce);     if (error) {	 fcache_release(entry);	 ret.res   = -1;	 ret.error = error;	 return ret;     }     if (checkright (entry, AWRITE, ce)) {	  ret.res   = 0;		/**/	  ret.error = 0;     } else {	  ret.res   = -1;	  ret.error = EACCES;     }     log_operation ("access (%ld,%lu,%lu,%lu)\n",	      fid.Cell, fid.fid.Volume, fid.fid.Vnode, fid.fid.Unique);     fcache_release(entry);     return ret;}