summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_disk.c
diff options
context:
space:
mode:
authormatthew <matthew@openbsd.org>2011-07-06 04:41:16 +0000
committermatthew <matthew@openbsd.org>2011-07-06 04:41:16 +0000
commit7dbc86ab4a86528e58a522b24e0afd44fa137a88 (patch)
tree7dedd79dc73ed82947342af6b3743feea50a46f4 /sys/kern/subr_disk.c
parentThat file is supposed to have been removed ages ago. (diff)
downloadwireguard-openbsd-7dbc86ab4a86528e58a522b24e0afd44fa137a88.tar.xz
wireguard-openbsd-7dbc86ab4a86528e58a522b24e0afd44fa137a88.zip
VOP_GETATTR() can sleep when accessing a file over NFS, so use
FREF()/FRELE() in lseek() so our struct file doesn't disappear in the mean time. Incorporating suggestions from tedu@ and guenther@; ok guenther@
Diffstat (limited to 'sys/kern/subr_disk.c')
0 files changed, 0 insertions, 0 deletions