HomeFreeBSD

vfs: fix rangelock range in vn_rdwr() for IO_APPEND

Description

vfs: fix rangelock range in vn_rdwr() for IO_APPEND

vn_rdwr() must lock the entire file range for IO_APPEND
just like vn_io_fault() does for O_APPEND.

Reviewed by: kib, imp, mckusick
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D28008

Details

Provenance
chsAuthored on Jan 6 2021, 8:04 PM
Reviewer
kib
Differential Revision
D28008: vfs: fix rangelock range in vn_rdwr() for IO_APPEND
Parents
R10:79eca6520e0a: Fix date
Branches
Unknown
Tags
Unknown