6ad7a6672a
Last year when I killed off some evil dirop-related macros, I added these assertions because if the things they asserted weren't true we'd be leaking vnodes. Well, it seems that the code at the time did leak vnodes, so certain failure cases (e.g. mkdir with disk full) would assert. Nobody apparently tripped on this in the past fourteen months, until I broke balloc so it always failed (unrelatedly) while working on some LFS64 changes. However, the vnode leak has since been removed by hannken@ as part of the vnode cache changes, so the assertions are now superfluous; instead, just make sure *vpp gets nulled on failure, and don't worry about whether or not VU_DIROP is set as it shouldn't matter any more. XXX: there's still a lot of gratuitous pointer aliasing in here that should be tidied away. |
||
---|---|---|
.. | ||
chfs | ||
ext2fs | ||
ffs | ||
lfs | ||
mfs | ||
ufs | ||
Makefile | ||
files.ufs |