From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <924676a5ae7dc067876e9c8726751d7d@plan9.escet.urjc.es> To: 9fans@cse.psu.edu From: Fco.J.Ballesteros MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] removefid() question Date: Thu, 11 Jul 2002 11:02:28 +0200 Topicbox-Message-UUID: c9413290-eaca-11e9-9e20-41e7f4b1d025 If I call removefid() without holding a reference to the Fid involved, AFAIK, it should unref the Fid and it should be deleted. Is this correct? My removefid() seems not to do so, so I had to allocfid() ... lookupfid() removefid() closefid() // for alloc closefid() // for remove I didn't change removefid() because I'm not sure it's a bug and I may be missing something. What's the right way?