FreeBSD Bugzilla – Attachment 146535 Details for
Bug 193146
[PATCH] getblk: Assert that bsize is non-zero
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
(Applies to CURRENT with -p0.)
a.patch (text/plain), 396 bytes, created by
Conrad Meyer
on 2014-08-30 13:30:04 UTC
(
hide
)
Description:
(Applies to CURRENT with -p0.)
Filename:
MIME Type:
Creator:
Conrad Meyer
Created:
2014-08-30 13:30:04 UTC
Size:
396 bytes
patch
obsolete
>Index: sys/kern/vfs_bio.c >=================================================================== >--- sys/kern/vfs_bio.c (revision 270840) >+++ sys/kern/vfs_bio.c (working copy) >@@ -3220,6 +3220,7 @@ > return NULL; > > bsize = vn_isdisk(vp, NULL) ? DEV_BSIZE : bo->bo_bsize; >+ KASSERT(bsize != 0, ("Bad! bo_bsize == 0!")); > offset = blkno * bsize; > vmio = vp->v_object != NULL; > if (vmio) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 193146
: 146535