diff options
author | 2018-03-28 09:47:52 +0000 | |
---|---|---|
committer | 2018-03-28 09:47:52 +0000 | |
commit | 3defd6635f1bdd1b604f3e9331d53b764a894a7d (patch) | |
tree | 0f698d394cf02dd9d68aa19b90e46c3a1e214ebd /sys/tmpfs/tmpfs_subr.c | |
parent | Check for possible race after sleeping instead of using a rwlock to (diff) | |
download | wireguard-openbsd-3defd6635f1bdd1b604f3e9331d53b764a894a7d.tar.xz wireguard-openbsd-3defd6635f1bdd1b604f3e9331d53b764a894a7d.zip |
Call FREF() right after fd_getfile*() in pread(), prwrite() & co.
This ensure that all operations manipulating a 'struct file *' do so
with a properly refcounted element.
ok visa@, tedu@, bluhm@
Diffstat (limited to 'sys/tmpfs/tmpfs_subr.c')
0 files changed, 0 insertions, 0 deletions