NetBSD/sys/ufs
dholland 6ad7a6672a Simplify some leftover code and remove some old assertions.
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.
2015-08-03 17:33:54 +00:00
..
chfs Make VOP_LINK return directory still locked and referenced. 2015-04-20 22:59:19 +00:00
ext2fs Make VOP_LINK return directory still locked and referenced. 2015-04-20 22:59:19 +00:00
ffs Unused inits (harmless). 2015-07-24 13:02:52 +00:00
lfs Simplify some leftover code and remove some old assertions. 2015-08-03 17:33:54 +00:00
mfs Change ffs to use vcache_new: 2015-03-17 09:39:29 +00:00
ufs mp->mnt_stat.f_flag is never set. Use the mnt_flag directly. 2015-07-11 11:04:48 +00:00
Makefile
files.ufs Change lfs from hash table to vcache. 2015-05-31 15:48:02 +00:00