HomeFreeBSD

Add omitted set for os->os_next_write_raw

Description

Add omitted set for os->os_next_write_raw

This one line patch adds adds a set to os->os_next_write_raw
that was omitted when the code was updated in 1b66810. Without
it, the code (in some instances) could attempt to write raw
encrypted data as regular unencrypted data without the keys
being loaded, triggering an ASSERT in zio_encrypt().

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes #7196

Details

Provenance
Tom Caputi <tcaputi@datto.com>Authored on Feb 21 2018, 8:24 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Feb 21 2018, 8:24 PM
Parents
rGf2c0dee23b65: Correct count_uberblocks in mmp.kshlib
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG478b3150dea2: Add omitted set for os->os_next_write_raw (authored by Tom Caputi <tcaputi@datto.com>).Feb 21 2018, 8:24 PM