HomeFreeBSD

MFC: r276192, r276200

Description

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.

Details

Provenance
rmacklemAuthored on
Parents
rS276435: MFC r267897: Update Makefile to reflect file update.
Branches
Unknown
Tags
Unknown

Event Timeline