dm snapshot: use GFP_KERNEL when initializing exceptions
authorMikulas Patocka <mpatocka@redhat.com>
Tue, 14 Jan 2014 00:13:36 +0000 (19:13 -0500)
committerMike Snitzer <snitzer@redhat.com>
Tue, 14 Jan 2014 16:18:16 +0000 (11:18 -0500)
The list of initial exceptions is loaded in the target constructor.  We
are allowed to allocate memory with GFP_KERNEL at this point.  So,
change alloc_completed_exception to use GFP_KERNEL when being called
from the constructor.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>

No differences found