]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
After nullfs rmdir operation, reclaim the directory vnode which was
authorKonstantin Belousov <kib@FreeBSD.org>
Wed, 17 Feb 2016 19:43:03 +0000 (19:43 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Wed, 17 Feb 2016 19:43:03 +0000 (19:43 +0000)
commit830cd4b810a9f50568f3a3440fd7d950db38d4dd
tree58540661db6ffa79911a3c19cbae6e4f5bbf756d
parentfa48f413ef6bced0595495a53589093ea137dc5e
After nullfs rmdir operation, reclaim the directory vnode which was
unlinked.  Otherwise the vnode stays cached, causing leak.  This is
similar to r292961 for regular files.

Reported and tested by: pho (previous version)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
sys/fs/nullfs/null_vnops.c