]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/zio.c
Fix bp_embedded_type enum definition
authorloli10K <loli10K@users.noreply.github.com>
Tue, 25 Jun 2019 01:02:17 +0000 (03:02 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 25 Jun 2019 01:02:17 +0000 (18:02 -0700)
commit746d4a451eaff3d90fb63b853b3f91920d8ab69c
tree34aee26b0cf37167e12ff50b9eb31397dec4e588
parent13d454c6ca12327f0080c14eaae78dc2f67d7d73
Fix bp_embedded_type enum definition

With the addition of BP_EMBEDDED_TYPE_REDACTED in 30af21b0 a couple of
codepaths make wrong assumptions and could potentially result in errors.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Chris Dunlop <chris@onthe.net.au>
Reviewed-by: Paul Dagnelie <pcd@delphix.com>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #8951
include/sys/spa.h
module/zfs/zio.c