Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 604c5e24 authored by Alistair Strachan's avatar Alistair Strachan Committed by Amit Pundir
Browse files

ANDROID: dm-crypt: Remove WQ_NON_REENTRANT flag.



Fix the build of drivers/md/dm-crypt.c.

In 82c6fea6 "ANDROID: dm-crypt: run in a WQ_HIGHPRI workqueue"
a change was cherry-picked from an earlier kernel which had
the WQ_NON_REENTRANT flag. As per Documentation/workqueue.txt,
this flag has been removed from the kernel and all WQs are
non-reentrant. It is not appropriate for 3.18.

Signed-off-by: default avatarAlistair Strachan <alistair.strachan@imgtec.com>
parent 4062e232
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1843,7 +1843,6 @@ static int crypt_ctr(struct dm_target *ti, unsigned int argc, char **argv)
	ret = -ENOMEM;
	cc->io_queue = alloc_workqueue("kcryptd_io",
				       WQ_HIGHPRI |
				       WQ_NON_REENTRANT|
				       WQ_MEM_RECLAIM,
				       1);
	if (!cc->io_queue) {