[K42-discussion] why destory theDeletedObj?

Dilma DaSilva dilma at watson.ibm.com
Mon Sep 25 10:06:01 EST 2006


I also would like an answer to Patrick's question :-)
I don't know anything about reading into a field from
the clustered object infrastructure (theDeletedObj) in our vfs
layer. From the CVS revision number, it seems that this got in when
we went for FSFile instead of FileSystemGlobal in virtfs.

dilma

Patrick Bozeman writes:
 > Can someone explain the purpose of destroying the theDeletedObj in the 
 > following snippet?
 > 
 > SysStatus
 > DirLinuxFSVolatile::eliminateStaleDir(
 >     DirLinuxFSVolatileRef lockedParent /* = NULL */)
 > {
 >     // FIXME: we are not freeing the subtree properly!
 > 
 >     FSFile* f = fileInfo;
 >     fileInfo = (FSFile*)theDeletedObj;
 >     f->destroy();
 > 
 >     <snip>
 > _______________________________________________
 > K42-discussion mailing list
 > K42-discussion at ozlabs.org
 > https://ozlabs.org/mailman/listinfo/k42-discussion



More information about the K42-discussion mailing list