linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* fishy ->put_inode usage in affs
@ 2004-10-14 11:30 Christoph Hellwig
  2004-10-14 20:23 ` Roman Zippel
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2004-10-14 11:30 UTC (permalink / raw)
  To: zippel; +Cc: linux-fsdevel

looking at i_count in ->put_inode is racy.  But ou could do the truncate
nicely in ->clear_inode, with some work you might be able to consolidate
the affs_truncate call in affs_delete_inode into that one aswell.

Also what's the rationale for discarding the preallocations in
affs_put_inode?  Inode reference counts are something purely internal,
depending in whether it's in core or ondisk reservations either
fops->release or iops->clear_inode sounds like the right thing for it.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-14 20:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-14 11:30 fishy ->put_inode usage in affs Christoph Hellwig
2004-10-14 20:23 ` Roman Zippel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).