diff options
author | 2011-07-06 04:41:16 +0000 | |
---|---|---|
committer | 2011-07-06 04:41:16 +0000 | |
commit | 7dbc86ab4a86528e58a522b24e0afd44fa137a88 (patch) | |
tree | 7dedd79dc73ed82947342af6b3743feea50a46f4 /sys/kern/subr_disk.c | |
parent | That file is supposed to have been removed ages ago. (diff) | |
download | wireguard-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