aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-raid1.c
diff options
context:
space:
mode:
authorJunaid Shahid <junaids@google.com>2017-05-18 12:00:51 -0700
committerMike Snitzer <snitzer@redhat.com>2017-05-22 19:30:03 -0400
commit8c1e2162f27b319da913683143c0c6c09b083ebb (patch)
tree1b890d720aba77344c49cb306a469dae44ce1ac0 /drivers/md/dm-raid1.c
parentdm integrity: use kvmalloc() instead of dm_integrity_kvmalloc() (diff)
downloadlinux-dev-8c1e2162f27b319da913683143c0c6c09b083ebb.tar.xz
linux-dev-8c1e2162f27b319da913683143c0c6c09b083ebb.zip
dm ioctl: restore __GFP_HIGH in copy_params()
Commit d224e9381897 ("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: d224e9381897 ("drivers/md/dm-ioctl.c: use kvmalloc rather than opencoded variant") Signed-off-by: Junaid Shahid <junaids@google.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Acked-by: David Rientjes <rientjes@google.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-raid1.c')
0 files changed, 0 insertions, 0 deletions