freebsd-nq/sys/fs
Konstantin Belousov 78e4cea909 When the insmntque() in the pfs_vncache_alloc() fails, vop_reclaim calls
pfs_vncache_free() that removes pvd from the list, while it is not yet
put on the list.

Prevent the invalid removal from the list by clearing pvd_next and
pvd_prev for the newly allocated pvd, and only move pfs_vncache list
head when the pvd was at the head.

Suggested and approved by:	des
MFC after:	2 weeks
2008-12-29 13:25:58 +00:00
..
cd9660 The timezone byte is a signed value, treat it as such. 2008-11-27 06:21:04 +00:00
coda Fix few missed accmode changes in coda. 2008-11-03 16:36:23 +00:00
deadfs Add a simple VOP_VPTOCNP implementation for deadfs which returns EBADF. 2008-12-12 00:59:36 +00:00
devfs Do not leak defs_de_interlock on error. 2008-12-12 11:10:10 +00:00
fdescfs Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
fifofs Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
hpfs According to phk@, VOP_STRATEGY should never, _ever_, return 2008-12-16 21:13:11 +00:00
msdosfs According to phk@, VOP_STRATEGY should never, _ever_, return 2008-12-16 21:13:11 +00:00
ntfs According to phk@, VOP_STRATEGY should never, _ever_, return 2008-12-16 21:13:11 +00:00
nullfs In null_lookup(), do the needed cleanup instead of panicing saying 2008-11-26 13:41:15 +00:00
nwfs According to phk@, VOP_STRATEGY should never, _ever_, return 2008-12-16 21:13:11 +00:00
portalfs Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
procfs vm_map_lock_read() does not increment map->timestamp, so we should 2008-12-29 12:45:11 +00:00
pseudofs When the insmntque() in the pfs_vncache_alloc() fails, vop_reclaim calls 2008-12-29 13:25:58 +00:00
smbfs According to phk@, VOP_STRATEGY should never, _ever_, return 2008-12-16 21:13:11 +00:00
tmpfs Introduce accmode_t. This is required for NFSv4 ACLs - it will be neccessary 2008-10-28 13:44:11 +00:00
udf Introduce accmode_t. This is required for NFSv4 ACLs - it will be neccessary 2008-10-28 13:44:11 +00:00
unionfs Simplify mode_t check treatment (suggested by trasz). 2008-11-25 03:49:41 +00:00