diff options
author | kib <kib@FreeBSD.org> | 2013-09-26 13:14:51 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2013-09-26 13:14:51 +0000 |
commit | c58dbf73e0a6e0d54f57e8c3b51b2b554625defe (patch) | |
tree | cd389ed5a22579c650548cac956ffa2d52d99c37 /lib | |
parent | 56ada0cb09eee44cb374667ecbeed22977d7c4cf (diff) | |
download | FreeBSD-src-c58dbf73e0a6e0d54f57e8c3b51b2b554625defe.zip FreeBSD-src-c58dbf73e0a6e0d54f57e8c3b51b2b554625defe.tar.gz |
Acquire a hold reference on the vnode when a knote is instantiated.
Otherwise, knote keeps a pointer to a vnode which could become invalid
any time.
Reported by: many
Tested by: Patrick Lamaiziere <patfbsd@davenulle.org>
Discussed with: jmg
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Approved by: re (marius)
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions