commit | 23fe8f8b1101ec77befc995ab15fad82d9d91d16 | [log] [tgz] |
---|---|---|
author | David Rientjes <rientjes@google.com> | Tue Mar 24 16:22:32 2015 -0700 |
committer | Jens Axboe <axboe@fb.com> | Tue Mar 24 20:00:16 2015 -0600 |
tree | dd198fb89b2f677bd8bc3d085579827fded8237b | |
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>