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