diff options
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r-- | sys/kern/vfs_bio.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index 510222c..635e394 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -1133,12 +1133,9 @@ brelse(struct buf * bp) /* * Get the base offset and length of the buffer. Note that - * for block sizes that are less then PAGE_SIZE, the b_data - * base of the buffer does not represent exactly b_offset and - * neither b_offset nor b_size are necessarily page aligned. - * Instead, the starting position of b_offset is: - * - * b_data + (b_offset & PAGE_MASK) + * in the VMIO case if the buffer block size is not + * page-aligned then b_data pointer may not be page-aligned. + * But our b_pages[] array *IS* page aligned. * * block sizes less then DEV_BSIZE (usually 512) are not * supported due to the page granularity bits (m->valid, |