aboutsummaryrefslogtreecommitdiff
path: root/sys/mips/mips/pmap.c
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2021-01-29 23:48:55 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2021-02-17 23:22:05 +0000
commitfa3bd463cee5c3abeac29a83dc86eb3abfa97b06 (patch)
tree00effb7f68f6bd16e710dad29fb806ce2c2554e1 /sys/mips/mips/pmap.c
parent351d06eeb509a420f3470c96b4a265467c87e2c2 (diff)
downloadsrc-fa3bd463cee5c3abeac29a83dc86eb3abfa97b06.tar.gz
src-fa3bd463cee5c3abeac29a83dc86eb3abfa97b06.zip
lockf: ensure atomicity of lockf for open(O_CREAT|O_EXCL|O_EXLOCK)
or EX_SHLOCK. Do it by setting a vnode iflag indicating that the locking exclusive open is in progress, and not allowing F_LOCK request to make a progress until the first open finishes. Requested by: mckusick Reviewed by: markj, mckusick Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D28697
Diffstat (limited to 'sys/mips/mips/pmap.c')
0 files changed, 0 insertions, 0 deletions