History

md: Use existed macros instead of numbers

majianpeng committed 14 years ago

Commit 43437ec1 parent 9d4c7d81 file · +5 −1Browse files

Showing the changes to include/linux/raid (1 of 1 file). Show all

Unified · Split

include/linux/raid/md_p.h+5−1
@@ -281,6 +281,10 @@ struct mdp_superblock_1 { · 280 unmodified lines
281281 * active device with same 'role'.
282282 * 'recovery_offset' is also set.
283283 */
284−#define MD_FEATURE_ALL (1|2|4|8|16)
284+#define MD_FEATURE_ALL (MD_FEATURE_BITMAP_OFFSET \
285+ |MD_FEATURE_RECOVERY_OFFSET \
286+ |MD_FEATURE_RESHAPE_ACTIVE \
287+ |MD_FEATURE_BAD_BLOCKS \
288+ |MD_FEATURE_REPLACEMENT)
285289
286290 #endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t