Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163455815
D19811.id55802.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
490 B
Referenced Files
None
Subscribers
None
D19811.id55802.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D19811: vn_vmap_seekhole(): align running offset to the block boundary.
Attached
Detach File
Event Timeline
Log In to Comment