summaryrefslogtreecommitdiffstats
path: root/usr.bin/procstat/procstat_basic.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2008-12-29 13:25:58 +0000
committerkib <kib@FreeBSD.org>2008-12-29 13:25:58 +0000
commit0deec7e423cd2663a58a55b2073aba84a7c000eb (patch)
tree5cd3d5d9ed06ee1895073bb9c722780923946890 /usr.bin/procstat/procstat_basic.c
parentf3a9a195cb5b2d1f5e0a7779c33cce89b9539695 (diff)
downloadFreeBSD-src-0deec7e423cd2663a58a55b2073aba84a7c000eb.zip
FreeBSD-src-0deec7e423cd2663a58a55b2073aba84a7c000eb.tar.gz
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
Diffstat (limited to 'usr.bin/procstat/procstat_basic.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud