Page MenuHomeFreeBSD

D19811.id55840.diff
No OneTemporary

D19811.id55840.diff

Index: head/sys/kern/vfs_vnops.c
===================================================================
--- head/sys/kern/vfs_vnops.c
+++ head/sys/kern/vfs_vnops.c
@@ -2167,7 +2167,8 @@
goto unlock;
}
bsize = vp->v_mount->mnt_stat.f_iosize;
- for (bn = noff / bsize; noff < va.va_size; bn++, noff += bsize) {
+ for (bn = noff / bsize; noff < va.va_size; bn++, noff += bsize -
+ noff % bsize) {
error = VOP_BMAP(vp, bn, NULL, &bnp, NULL, NULL);
if (error == EOPNOTSUPP) {
error = ENOTTY;

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 21, 12:14 PM (5 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27802916
Default Alt Text
D19811.id55840.diff (505 B)

Event Timeline