Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1544426

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

From Christoph Hellwig <hch@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH] vfs: fix isize/pos/len checks for reflink & dedupe
Date 2016-12-19 11:20 +0100
Message-ID <sQ3d0-6pH-11@gated-at.bofh.it> (permalink)
References <sPWEx-2it-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

No need for the else here.

Otherwise looks fine:

Reviewed-by: Christoph Hellwig <hch@lst.de>

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] vfs: fix isize/pos/len checks for reflink & dedupe "Darrick J. Wong" <darrick.wong@oracle.com> - 2016-12-19 04:20 +0100
  Re: [PATCH] vfs: fix isize/pos/len checks for reflink & dedupe Christoph Hellwig <hch@infradead.org> - 2016-12-19 11:20 +0100

csiph-web