diff options
author | David Rientjes <rientjes@google.com> | 2015-03-24 16:22:32 -0700 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-03-24 20:00:16 -0600 |
commit | 23fe8f8b1101ec77befc995ab15fad82d9d91d16 (patch) | |
tree | dd198fb89b2f677bd8bc3d085579827fded8237b /drivers/block/zram/zcomp_lz4.c | |
parent | ea7618ecb244b36bf6e1ba00b7de801dc1e9a951 (diff) |
block, drbd: fix drbd_req_new() initialization
mempool_alloc() does not support __GFP_ZERO since elements may come from
memory that has already been released by mempool_free().
Remove __GFP_ZERO from mempool_alloc() in drbd_req_new() and properly
initialize it to 0.
Cc: Lars Ellenberg <drbd-dev@lists.linbit.com>
Cc: Jens Axboe <axboe@fb.com>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/zram/zcomp_lz4.c')
0 files changed, 0 insertions, 0 deletions