summaryrefslogtreecommitdiffstats
path: root/sys/tmpfs/tmpfs_subr.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2018-03-28 09:47:52 +0000
committermpi <mpi@openbsd.org>2018-03-28 09:47:52 +0000
commit3defd6635f1bdd1b604f3e9331d53b764a894a7d (patch)
tree0f698d394cf02dd9d68aa19b90e46c3a1e214ebd /sys/tmpfs/tmpfs_subr.c
parentCheck for possible race after sleeping instead of using a rwlock to (diff)
downloadwireguard-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