lightnvm: pblk: remove size and out of bounds read check
authorMatias Bjørling <mb@lightnvm.io>
Tue, 9 Oct 2018 11:11:39 +0000 (13:11 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 9 Oct 2018 14:25:06 +0000 (08:25 -0600)
commitd20be90ae0bb938ee0dfc8277d531191341d8e39
tree5647ae80bbc78974ccb4be9e25f2dc7b3b15af4d
parent8bbd45d02a118cbefdf4e1a6274bd965a6aa3c59
lightnvm: pblk: remove size and out of bounds read check

The I/O size and capacity checks are already done by the block layer.

Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Reviewed-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/lightnvm/pblk-read.c