Re: [PATCH] vfs: fix isize/pos/len checks for reflink & dedupe

From: Christoph Hellwig
Date: Mon Dec 19 2016 - 05:13:16 EST


> + else if (pos_in > isize)
> + return -EINVAL;

No need for the else here.

Otherwise looks fine:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>