summaryrefslogtreecommitdiff
path: root/include/linux/crush
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/crush')
-rw-r--r--include/linux/crush/crush.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/crush/crush.h b/include/linux/crush/crush.h
index 3d6a12928560..4023b1b52296 100644
--- a/include/linux/crush/crush.h
+++ b/include/linux/crush/crush.h
@@ -22,7 +22,8 @@
#define CRUSH_MAX_DEPTH 10 /* max crush hierarchy depth */
-#define CRUSH_ITEM_UNDEF 0x7fffffff /* undefined result */
+#define CRUSH_ITEM_UNDEF 0x7ffffffe /* undefined result (internal use only) */
+#define CRUSH_ITEM_NONE 0x7fffffff /* no result */
/*
* CRUSH uses user-defined "rules" to describe how inputs should be