commit | b0e0306ce14180baee00cea9be5600eef6750af8 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.com> | Sat Apr 15 20:55:41 2017 +0200 |
committer | Jens Axboe <axboe@fb.com> | Sun Apr 16 10:06:25 2017 -0600 |
tree | 5f406c62e83b94f0b50f0c5ad6d117e0bec83f72 | |
parent | 48d663a314489f136a46abf8e3f0d014d7769209 [diff] |
lightnvm: don't check for failure from mempool_alloc() mempool_alloc() cannot fail if the gfp flags allow it to sleep, and both GFP_KERNEL and GFP_NOIO allows for sleeping. So rrpc_move_valid_pages() and rrpc_make_rq() don't need to test the return value. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Matias Bjørling <matias@cnexlabs.com> Signed-off-by: Jens Axboe <axboe@fb.com>