Lines 87-93
g_eli_crypto_read_done(struct cryptop *crp)
Link Here
|
87 |
bp->bio_error = crp->crp_etype; |
87 |
bp->bio_error = crp->crp_etype; |
88 |
} |
88 |
} |
89 |
sc = bp->bio_to->geom->softc; |
89 |
sc = bp->bio_to->geom->softc; |
90 |
g_eli_key_drop(sc, crp->crp_desc->crd_key); |
90 |
if (sc != NULL) |
|
|
91 |
g_eli_key_drop(sc, crp->crp_desc->crd_key); |
91 |
/* |
92 |
/* |
92 |
* Do we have all sectors already? |
93 |
* Do we have all sectors already? |
93 |
*/ |
94 |
*/ |
Lines 104-110
g_eli_crypto_read_done(struct cryptop *crp)
Link Here
|
104 |
* Read is finished, send it up. |
105 |
* Read is finished, send it up. |
105 |
*/ |
106 |
*/ |
106 |
g_io_deliver(bp, bp->bio_error); |
107 |
g_io_deliver(bp, bp->bio_error); |
107 |
atomic_subtract_int(&sc->sc_inflight, 1); |
108 |
if (sc != NULL) |
|
|
109 |
atomic_subtract_int(&sc->sc_inflight, 1); |
108 |
return (0); |
110 |
return (0); |
109 |
} |
111 |
} |
110 |
|
112 |
|
111 |
- |
|
|
112 |
-- |
113 |
sys/geom/eli/g_eli.c | 3 ++- |
113 |
sys/geom/eli/g_eli.c | 3 ++- |
114 |
1 file changed, 2 insertions(+), 1 deletion(-) |
114 |
1 file changed, 2 insertions(+), 1 deletion(-) |