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

Commit 8577c219 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "dm-bufio: Ensure reserved buffer is also allocated from get_free_pages pool" into msm-4.14

parents d11f1337 db776883
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1730,7 +1730,8 @@ struct dm_bufio_client *dm_bufio_client_create(struct block_device *bdev, unsign
	mutex_unlock(&dm_bufio_clients_lock);

	while (c->need_reserved_buffers) {
		struct dm_buffer *b = alloc_buffer(c, GFP_KERNEL);
		struct dm_buffer *b = alloc_buffer(c,
					GFP_KERNEL | __GFP_NORETRY);

		if (!b) {
			r = -ENOMEM;