linux-sg2042/drivers/lightnvm
NeilBrown b0e0306ce1 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>
2017-04-16 10:06:25 -06:00
..
Kconfig lightnvm: merge gennvm with core 2017-01-31 08:32:13 -07:00
Makefile lightnvm: merge gennvm with core 2017-01-31 08:32:13 -07:00
core.c lightnvm: free reverse device map 2017-04-16 10:06:25 -06:00
rrpc.c lightnvm: don't check for failure from mempool_alloc() 2017-04-16 10:06:25 -06:00
rrpc.h lightnvm: use end_io callback instead of instance 2017-01-31 08:32:13 -07:00