[PATCH] dm-verity-fec: don't check for failure from mempool_alloc(GFP_NOIO)

2017-04-09 Thread NeilBrown
mempool_alloc() cannot fail for GFP_NOIO allocation, so there is no point testing for failure. One place the code tested for failure was passing "0" as the GFP flags. This is most unusually and is probably meant to be GFP_NOIO, so that is changed. Allocation from ->extra_pool and

[PATCH] dm-verity-fec: don't check for failure from mempool_alloc(GFP_NOIO)

2017-04-09 Thread NeilBrown
mempool_alloc() cannot fail for GFP_NOIO allocation, so there is no point testing for failure. One place the code tested for failure was passing "0" as the GFP flags. This is most unusually and is probably meant to be GFP_NOIO, so that is changed. Allocation from ->extra_pool and