gp = pp->geom;
sc = gp->softc;
if ( sc == NULL )
return (0);
if (dw > 0) {
if (sc->sc_flags & G_ELI_FLAG_RO) {
/* Deny write attempts. */