[RFC PATCH 04/16] DM: Ensure that the read request is within the device range.

2016-08-15 Thread Ram Pai
If a read request is not within the device range return error. Signed-off-by: Ram Pai --- drivers/md/dm-inplace-compress.c | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/drivers/md/dm-inplace-compress.c b/drivers/md/dm-inplace-compress.c

[RFC PATCH 04/16] DM: Ensure that the read request is within the device range.

2016-08-15 Thread Ram Pai
If a read request is not within the device range return error. Signed-off-by: Ram Pai --- drivers/md/dm-inplace-compress.c | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/drivers/md/dm-inplace-compress.c b/drivers/md/dm-inplace-compress.c index 17221a1..bf18028