Page MenuHomeFreeBSD

D19811.id55802.diff
No OneTemporary

D19811.id55802.diff

Index: sys/kern/vfs_vnops.c
===================================================================
--- sys/kern/vfs_vnops.c
+++ 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
Fri, Jul 24, 8:35 AM (5 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35438953
Default Alt Text
D19811.id55802.diff (490 B)

Event Timeline