summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/string/t_memmem.c
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2014-12-31 00:34:37 +0000
committerrmacklem <rmacklem@FreeBSD.org>2014-12-31 00:34:37 +0000
commit0a205a55e38f6cbcf29e2da1548e934f6fd941be (patch)
tree01e1a09b438ec6835e22d1820f7a086d7fad4ee6 /contrib/netbsd-tests/lib/libc/string/t_memmem.c
parentbb94e30e60eb81e11ad88e00cd7c8255afe38048 (diff)
downloadFreeBSD-src-0a205a55e38f6cbcf29e2da1548e934f6fd941be.zip
FreeBSD-src-0a205a55e38f6cbcf29e2da1548e934f6fd941be.tar.gz
MFC: r276192, r276200
Modify vop_stdadvlock{async}() so that it only locks/unlocks the vnode and does a VOP_GETATTR() for the SEEK_END case. This is safe to do, since lf_advlock{async}() only uses the size argument for the SEEK_END case. The NFSv4 server needs this when vfs.nfsd.enable_locallocks!=0 since locking the vnode results in a LOR that can cause a deadlock for the nfsd threads.
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/string/t_memmem.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud