diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2014-01-13 19:13:36 -0500 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2014-01-14 11:18:16 -0500 |
commit | 119bc547362e5252074f81f56b8fcdac45cedff4 (patch) | |
tree | 57f4c605fc2e70993cadc426fd9f6cf5c4c9c1de /drivers/md/dm-snap-persistent.c | |
parent | 6a388618f120cdc70cd6b6dbcab5f7a4aff500f6 (diff) |
dm snapshot: use GFP_KERNEL when initializing exceptions
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>
Diffstat (limited to 'drivers/md/dm-snap-persistent.c')
0 files changed, 0 insertions, 0 deletions