dm ioctl: restore __GFP_HIGH in copy_params()
Commit d224e938 ("drivers/md/dm-ioctl.c: use kvmalloc rather than opencoded variant") left out the __GFP_HIGH flag when converting from __vmalloc to kvmalloc. This can cause the DM ioctl to fail in some low memory situations where it wouldn't have failed earlier. Add __GFP_HIGH back to avoid any potential regression. Fixes: d224e938 ("drivers/md/dm-ioctl.c: use kvmalloc rather than opencoded variant") Signed-off-by: NJunaid Shahid <junaids@google.com> Signed-off-by: NMikulas Patocka <mpatocka@redhat.com> Acked-by: NDavid Rientjes <rientjes@google.com> Signed-off-by: NMike Snitzer <snitzer@redhat.com>
Showing
想要评论请 注册 或 登录