On Sun, Feb 1, 2015 at 3:03 PM, NeilBrown <neilb@xxxxxxx> wrote: > > I guess I could > __set_current_state(TASK_RUNNING); > somewhere to defeat the warning, and add a comment explaining why. > > Would that be a good thing? Use "sched_annotate_sleep()" instead, but yes, add a comment about why it's ok. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html