HomeFreeBSD

vfs: fix off-by-one error in vfs_buf_check_mapped

Description

vfs: fix off-by-one error in vfs_buf_check_mapped

The check added in r285872 can trigger for valid buffers if the buffer space
used happens to be just after unmapped_buf in KVA space.

Discussed with: kib
Sponsored by: Citrix Systems R&D

Details

Provenance
roygerAuthored on
Parents
rS286075: Add Allan Jude as a new src committer. marcel@ and I will be mentoring him
Branches
Unknown
Tags
Unknown