diff options
author | 2018-03-28 09:49:28 +0000 | |
---|---|---|
committer | 2018-03-28 09:49:28 +0000 | |
commit | e13ac0275649309058c75bd90433bcaa0b3d5f0c (patch) | |
tree | f758a679e722a9ff2c222930863c19c9590324fe /sys/tmpfs/tmpfs_subr.c | |
parent | Call FREF() right after fd_getfile*() in pread(), prwrite() & co. (diff) | |
download | wireguard-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