Commit 0c718cb1 authored by Daniel Axtens's avatar Daniel Axtens Committed by Khalid Elmously

Revert "UBUNTU: SAUCE: CacheFiles: fix a read_waiter/read_copier race"

BugLink: https://bugs.launchpad.net/bugs/1774336

Revert 9bd2e21f in Xenial.
Upstream has taken a different solution, which we're about to apply.
Signed-off-by: default avatarDaniel Axtens <daniel.axtens@canonical.com>
Acked-by: default avatarKhalid Elmously <khalid.elmously@canonical.com>
Acked-by: default avatarKamal Mostafa <kamal@canonical.com>
Signed-off-by: default avatarKhalid Elmously <khalid.elmously@canonical.com>
parent 3d1d1de9
......@@ -58,9 +58,9 @@ static int cachefiles_read_waiter(wait_queue_t *wait, unsigned mode,
spin_lock(&object->work_lock);
list_add_tail(&monitor->op_link, &monitor->op->to_do);
fscache_enqueue_retrieval(monitor->op);
spin_unlock(&object->work_lock);
fscache_enqueue_retrieval(monitor->op);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment