dm ioctl: remove PF_MEMALLOC
authorMikulas Patocka <mpatocka@redhat.com>
Fri, 21 Dec 2012 20:23:36 +0000 (20:23 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 21 Dec 2012 20:23:36 +0000 (20:23 +0000)
commit5023e5cf58e1dae904e2e8b5b9779c33512b75a1
tree4b006347d01a1526a3ee42b5219b90ea9cf4cae7
parent7960123f2d335ded2ac4c510bcd2a236b293b1b1
dm ioctl: remove PF_MEMALLOC

When allocating memory for the userspace ioctl data, set some
appropriate GPF flags directly instead of using PF_MEMALLOC.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-ioctl.c
include/uapi/linux/dm-ioctl.h