[PATCH] md: convert 'faulty' and 'in_sync' fields to bits in 'flags' field
authorNeilBrown <neilb@suse.de>
Wed, 9 Nov 2005 05:39:31 +0000 (21:39 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 9 Nov 2005 15:56:38 +0000 (07:56 -0800)
commitb2d444d7ad975d555bb919601bcdc0e58975a40e
tree963a29258af95f05dd28d9de0180ac9ef533aeed
parentba22dcbf106338a5c46d6979f9b19564faae3d49
[PATCH] md: convert 'faulty' and 'in_sync' fields to bits in 'flags' field

This has the advantage of removing the confusion caused by 'rdev_t' and
'mddev_t' both having 'in_sync' fields.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/bitmap.c
drivers/md/md.c
drivers/md/multipath.c
drivers/md/raid1.c
drivers/md/raid10.c
drivers/md/raid5.c
drivers/md/raid6main.c
include/linux/raid/md_k.h