aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/spa.h
diff options
context:
space:
mode:
authorloli10K <[email protected]>2019-06-25 03:02:17 +0200
committerBrian Behlendorf <[email protected]>2019-06-24 18:02:17 -0700
commit746d4a451eaff3d90fb63b853b3f91920d8ab69c (patch)
tree34aee26b0cf37167e12ff50b9eb31397dec4e588 /include/sys/spa.h
parent13d454c6ca12327f0080c14eaae78dc2f67d7d73 (diff)
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 <[email protected]> Reviewed-by: Chris Dunlop <[email protected]> Reviewed-by: Paul Dagnelie <[email protected]> Signed-off-by: loli10K <[email protected]> Closes #8951
Diffstat (limited to 'include/sys/spa.h')
-rw-r--r--include/sys/spa.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sys/spa.h b/include/sys/spa.h
index 9cc958c7c..a7e4d154f 100644
--- a/include/sys/spa.h
+++ b/include/sys/spa.h
@@ -407,9 +407,9 @@ _NOTE(CONSTCOND) } while (0)
typedef enum bp_embedded_type {
BP_EMBEDDED_TYPE_DATA,
- BP_EMBEDDED_TYPE_RESERVED, /* Reserved for an unintegrated feature. */
+ BP_EMBEDDED_TYPE_RESERVED, /* Reserved for Delphix byteswap feature. */
BP_EMBEDDED_TYPE_REDACTED,
- NUM_BP_EMBEDDED_TYPES = BP_EMBEDDED_TYPE_RESERVED
+ NUM_BP_EMBEDDED_TYPES
} bp_embedded_type_t;
#define BPE_NUM_WORDS 14