]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
vn_vmap_seekhole(): align running offset to the block boundary.
authorkib <kib@FreeBSD.org>
Fri, 5 Apr 2019 16:14:16 +0000 (16:14 +0000)
committerkib <kib@FreeBSD.org>
Fri, 5 Apr 2019 16:14:16 +0000 (16:14 +0000)
commit2a6eaf86a20ed5b53bd1395b20cb7ce9757f2c51
tree9529cad2167ab5201404cbdeee33abc07fc8ce47
parent3a48424552543f7fdb8de4f9c96507be7fdc50ad
vn_vmap_seekhole(): align running offset to the block boundary.

Otherwise we might miss the last iteration where EOF appears below
unaligned noff.

Reported and reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D19811
sys/kern/vfs_vnops.c