Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151588705
D34835.id104746.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
787 B
Referenced Files
None
Subscribers
None
D34835.id104746.diff
View Options
Index: sys/ufs/ffs/ffs_vnops.c
===================================================================
--- sys/ufs/ffs/ffs_vnops.c
+++ sys/ufs/ffs/ffs_vnops.c
@@ -795,7 +795,8 @@
error = vn_io_fault_uiomove((char *)bp->b_data +
blkoffset, (int)xfersize, uio);
} else {
- error = vn_io_fault_pgmove(bp->b_pages, blkoffset,
+ error = vn_io_fault_pgmove(bp->b_pages,
+ blkoffset + (bp->b_offset & PAGE_MASK),
(int)xfersize, uio);
}
if (error)
@@ -947,7 +948,8 @@
error = vn_io_fault_uiomove((char *)bp->b_data +
blkoffset, (int)xfersize, uio);
} else {
- error = vn_io_fault_pgmove(bp->b_pages, blkoffset,
+ error = vn_io_fault_pgmove(bp->b_pages,
+ blkoffset + (bp->b_offset & PAGE_MASK),
(int)xfersize, uio);
}
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 10, 8:58 AM (7 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31215359
Default Alt Text
D34835.id104746.diff (787 B)
Attached To
Mode
D34835: ffs: fix vn_io_fault_pgmove() offset for PAGE_SIZE > block size
Attached
Detach File
Event Timeline
Log In to Comment