On Thu, 19 Jul 2018 10:58:12 +0200 Jan Kara <j...@suse.cz> wrote:

> On Thu 19-07-18 16:17:26, Chengguang Xu wrote:
> > When we try to truncate read count in generic_file_buffered_read(),
> > should deliver (sb->s_maxbytes - offset) as maximum count not
> > sb->s_maxbytes itself.
> > 
> > Signed-off-by: Chengguang Xu <cgxu...@gmx.com>
> 
> Looks good to me. You can add:
> 
> Reviewed-by: Jan Kara <j...@suse.cz>

Yup.

What are the runtime effects of this bug?

Reply via email to