summaryrefslogtreecommitdiffstats
path: root/sys/tmpfs/tmpfs_subr.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2018-03-28 09:49:28 +0000
committermpi <mpi@openbsd.org>2018-03-28 09:49:28 +0000
commite13ac0275649309058c75bd90433bcaa0b3d5f0c (patch)
treef758a679e722a9ff2c222930863c19c9590324fe /sys/tmpfs/tmpfs_subr.c
parentCall FREF() right after fd_getfile*() in pread(), prwrite() & co. (diff)
downloadwireguard-openbsd-e13ac0275649309058c75bd90433bcaa0b3d5f0c.tar.xz
wireguard-openbsd-e13ac0275649309058c75bd90433bcaa0b3d5f0c.zip
Call FREF() right after fd_getfile() in sys_flock().
This ensure that all operations manipulating a 'struct file *' do so with a properly refcounted element. ok visa@, bluhm@
Diffstat (limited to 'sys/tmpfs/tmpfs_subr.c')
0 files changed, 0 insertions, 0 deletions