On Thu, Aug 18, 2011 at 09:51:50PM +0000, Taylor R Campbell wrote: > Forgot to add that this also fixes a space leak in tmpfs_rename, > introduced a couple months ago, which nobody reported as far as I > know. The leak sometimes caused tmpfs_renamerace_dirs to fail with > ENOSPC. The problem was that renaming a directory over an empty > directory would fail to decrement the target's link count enough, so > that the target would never be released.
There was a thread somewhere a while back (in tech-kern I think) about refcount leaks in tmpfs. As I recall what changed a couple months ago was a semi-compensating error somewhere else... or maybe that was earlier. -- David A. Holland dholl...@netbsd.org