tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: netbsd-7 kernel and older vnconfig(8)



On Nov 12,  5:55pm, kre%munnari.OZ.AU@localhost (Robert Elz) wrote:
-- Subject: Re: netbsd-7 kernel and older vnconfig(8)

|   | The memset was wrong.
| 
| Sorry, I should have noticed that one...

But it was my fault :-)

|  			    (vnd->sc_geom.vng_ntracks *
|  			     vnd->sc_geom.vng_nsectors) == 0) {

Fixed.

| +			if (vnd->sc_comp_blksz < DEV_BSIZE ||
| +			    (vnd->sc_comp_blksz & vnd->sc_comp_blksz-1) != 0) {

I added a macro to do that...

Thanks!

christos


Home | Main Index | Thread Index | Old Index