Initialize the dev->si_bsize fields.
Submitted by: tegge Reviewed by: phk
This commit is contained in:
parent
0d87948161
commit
9c93810d2d
@ -1,4 +1,4 @@
|
||||
/* $Id: ccd.c,v 1.51 1999/07/18 14:30:57 phk Exp $ */
|
||||
/* $Id: ccd.c,v 1.52 1999/08/14 11:40:34 phk Exp $ */
|
||||
|
||||
/* $NetBSD: ccd.c,v 1.22 1995/12/08 19:13:26 thorpej Exp $ */
|
||||
|
||||
@ -633,6 +633,10 @@ ccdopen(dev, flags, fmt, p)
|
||||
part = ccdpart(dev);
|
||||
pmask = (1 << part);
|
||||
|
||||
dev->si_bsize_phys = DEV_BSIZE;
|
||||
dev->si_bsize_best = BLKDEV_IOSIZE;
|
||||
dev->si_bsize_max = MAXBSIZE;
|
||||
|
||||
/*
|
||||
* If we're initialized, check to see if there are any other
|
||||
* open partitions. If not, then it's safe to update
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $Id: ccd.c,v 1.51 1999/07/18 14:30:57 phk Exp $ */
|
||||
/* $Id: ccd.c,v 1.52 1999/08/14 11:40:34 phk Exp $ */
|
||||
|
||||
/* $NetBSD: ccd.c,v 1.22 1995/12/08 19:13:26 thorpej Exp $ */
|
||||
|
||||
@ -633,6 +633,10 @@ ccdopen(dev, flags, fmt, p)
|
||||
part = ccdpart(dev);
|
||||
pmask = (1 << part);
|
||||
|
||||
dev->si_bsize_phys = DEV_BSIZE;
|
||||
dev->si_bsize_best = BLKDEV_IOSIZE;
|
||||
dev->si_bsize_max = MAXBSIZE;
|
||||
|
||||
/*
|
||||
* If we're initialized, check to see if there are any other
|
||||
* open partitions. If not, then it's safe to update
|
||||
|
Loading…
x
Reference in New Issue
Block a user