George Wang <xuw2015@xxxxxxxxx> wrote:
> + do {
> + prepare_to_wait(wq, &q->wait, mode);
> + val = q->key.flags;
> + if (atomic_read(val) == 0)
> + ret = (*action)(val);
> + } while (!ret && atomic_read(val) != 0);
This isn't what's in the upstream kernel now. See commit
42577ca8c3616baaafdd8f167b2e1fb959026081.
David
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html