diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-01-04 09:37:42 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-01-04 09:37:42 +0000 |
| commit | 7b330b22b6cdc7cbdf95111b112506d2578353bf (patch) | |
| tree | 112cfb03325faa5680a49b0ed8264af3955832e4 | |
| parent | 404a379e4a64c2b0b6fcf3b9df039d019975d666 (diff) | |
Notes
| -rw-r--r-- | sys/kern/vfs_bio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index cc5ee29a8eb2..65fcb33ed220 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -972,7 +972,7 @@ bdwrite(struct buf * bp) * requesting a sync -- there might not be enough memory to do * the bmap then... So, this is important to do. */ - if (bp->b_lblkno == bp->b_blkno) { + if (bp->b_vp->v_type != VCHR && bp->b_lblkno == bp->b_blkno) { VOP_BMAP(bp->b_vp, bp->b_lblkno, NULL, &bp->b_blkno, NULL, NULL); } |
