]> git.karo-electronics.de Git - linux-beck.git/commit
md: define mddev flags, recovery flags and r1bio state bits using enums
authorNeilBrown <neilb@suse.com>
Tue, 8 Nov 2016 23:21:33 +0000 (10:21 +1100)
committerShaohua Li <shli@fb.com>
Wed, 9 Nov 2016 20:53:52 +0000 (12:53 -0800)
commitbe306c2989804ca5b90388df66fd3cf28ec74967
tree15989e3e90f2050e877ac5d1af6265787d741a10
parentf2c771a655046f21bb70d5813aa94979d2bd49c9
md: define mddev flags, recovery flags and r1bio state bits using enums

This is less error prone than using individual #defines.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/md.h
drivers/md/raid1.h