]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
md: make sure GET_ARRAY_INFO ioctl reports correct "clean" status
authorNeilBrown <neilb@suse.de>
Wed, 2 Jul 2014 01:35:06 +0000 (11:35 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 3 Jul 2014 00:44:31 +0000 (10:44 +1000)
commit9bd359203210efeb5d8f0d81c155079f34b47449
treea891e608abda2e5995b6064a3eb2dc1dd03df6a3
parent4c834452aad01531db949414f94f817a86348d59
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: George Duffield <forumscollective@gmail.com>
Link: http://lkml.kernel.org/CAG__1a4MRV6gJL38XLAurtoSiD3rLBTmWpcS5HYvPpSfPR88UQ@mail.gmail.com
Fixes: 36fa30636fb84b209210299684e1be66d9e58217 (v2.6.14)
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c