Skip to content
Commit 9bd35920 authored by NeilBrown's avatar NeilBrown
Browse files

md: make sure GET_ARRAY_INFO ioctl reports correct "clean" status



If an array has a bitmap, the when we set the "has bitmap" flag we
incorrectly clear the "is clean" flag.

"is clean" isn't really important when a bitmap is present, but it is
best to get it right anyway.

Reported-by: default avatarGeorge Duffield <forumscollective@gmail.com>
Link: http://lkml.kernel.org/CAG__1a4MRV6gJL38XLAurtoSiD3rLBTmWpcS5HYvPpSfPR88UQ@mail.gmail.com


Fixes: 36fa3063 (v2.6.14)
Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent 4c834452
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment