void au_dbg_verify_kthread(void) { if (au_test_wkq(current)) { au_dbg_blocked(); BUG(); } }
void au_dbg_verify_kthread(void) { if (current->flags & PF_WQ_WORKER) { au_dbg_blocked(); WARN_ON(1); } }
void au_dbg_verify_kthread(void) { struct task_struct *tsk = current; if ((tsk->flags & PF_KTHREAD) && !strncmp(tsk->comm, AUFS_WKQ_NAME "/", sizeof(AUFS_WKQ_NAME))) { au_dbg_blocked(); BUG(); } }
void au_dbg_verify_kthread(void) { if (au_wkq_test()) { au_dbg_blocked(); /* * It may be recursive, but udba=notify between two aufs mounts, * where a single ro branch is shared, is not a problem. */ /* WARN_ON(1); */ } }