[Drbd-dev] [PATCH drbd-9.0] compat: __vmalloc() pgprot argument was removed in v5.8
Elimar Riesebieter
riesebie at lxtec.de
Mon Oct 12 12:57:37 CEST 2020
* Lukas Wunner <lukas at wunner.de> [2020-10-11 18:07 +0200]:
[...]
> --- a/drbd/drbd_bitmap.c
> +++ b/drbd/drbd_bitmap.c
> @@ -366,9 +366,7 @@ static struct page **bm_realloc_pages(struct drbd_bitmap *b, unsigned long want)
^ should be 8 otherwise this patch doesn't apply.
> new_pages = kzalloc(bytes, GFP_NOIO | __GFP_NOWARN);
> if (!new_pages) {
> new_pages = __vmalloc(bytes,
> - GFP_NOIO | __GFP_HIGHMEM | __GFP_ZERO,
> - PAGE_KERNEL);
> + GFP_NOIO | __GFP_HIGHMEM | __GFP_ZERO);
> if (!new_pages)
> return NULL;
> }
> --
> 2.27.0
>
--
Alles, was viel bedacht wird, wird bedenklich!;-)
Friedrich Nietzsche
More information about the drbd-dev
mailing list