On Tuesday October 11, akpm@xxxxxxxx wrote: > NeilBrown <neilb@xxxxxxx> wrote: > > > > static ssize_t > > +md_show_scan(mddev_t *mddev, char *page) > > +{ > > + char *type = "none"; > > + if (mddev->recovery & > > + ((1<<MD_RECOVERY_RUNNING) || (1<<MD_RECOVERY_NEEDED))) { > > Shouldn't this be a bitwise OR? Yes, though given that my testing showed it worked fine, there is little practical difference!! The constant value is becomes '1' instead of '33', and the '32' bit is only set for extremely short periods of time, so not testing doesn't make a visible difference! I will, ofcourse, fix it. Thanks for reviewing the patches. NeilBrown - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html