Re: [PATCH v2] btrfs: Add chunk type check in read a chunk

2018-07-04 Thread David Sterba
香 ; linux-btrfs@vger.kernel.org > >> Cc: quwenruo.bt...@gmx.com; wen...@gatech.edu; xuwen.s...@gmail.com > >> Subject: Re: [PATCH v2] btrfs: Add chunk type check in read a chunk > >> On 3.07.2018 09:20, Gu Jinxiang wrote: > >>> Reported in https://bugzilla.

Re: [PATCH v2] btrfs: Add chunk type check in read a chunk

2018-07-04 Thread Qu Wenruo
@gmx.com; wen...@gatech.edu; xuwen.s...@gmail.com >> Subject: Re: [PATCH v2] btrfs: Add chunk type check in read a chunk >> >> >> >> On 3.07.2018 09:20, Gu Jinxiang wrote: >>> Reported in https://bugzilla.kernel.org/show_bug.cgi?id=199839, >>> whic

RE: [PATCH v2] btrfs: Add chunk type check in read a chunk

2018-07-04 Thread Gu, Jinxiang
> -Original Message- > From: Nikolay Borisov [mailto:nbori...@suse.com] > Sent: Wednesday, July 04, 2018 4:15 PM > To: Gu, Jinxiang/顾 金香 ; linux-btrfs@vger.kernel.org > Cc: quwenruo.bt...@gmx.com; wen...@gatech.edu; xuwen.s...@gmail.com > Subject: Re: [PATCH v2] btr

Re: [PATCH v2] btrfs: Add chunk type check in read a chunk

2018-07-04 Thread Nikolay Borisov
On 3.07.2018 09:20, Gu Jinxiang wrote: > Reported in https://bugzilla.kernel.org/show_bug.cgi?id=199839, > which has a invalid chunk, not return error opportunlly. > > Add chunk type check in btrfs_check_chunk_valid, > to make error be returned in advance. > > Reported-by: Xu Wen > Signed-of

Re: [PATCH v2] btrfs: Add chunk type check in read a chunk

2018-07-02 Thread Qu Wenruo
On 2018年07月03日 14:20, Gu Jinxiang wrote: > Reported in https://bugzilla.kernel.org/show_bug.cgi?id=199839, > which has a invalid chunk, not return error opportunlly. > > Add chunk type check in btrfs_check_chunk_valid, > to make error be returned in advance. > > Reported-by: Xu Wen > Signed-of

[PATCH v2] btrfs: Add chunk type check in read a chunk

2018-07-02 Thread Gu Jinxiang
Reported in https://bugzilla.kernel.org/show_bug.cgi?id=199839, which has a invalid chunk, not return error opportunlly. Add chunk type check in btrfs_check_chunk_valid, to make error be returned in advance. Reported-by: Xu Wen Signed-off-by: Gu Jinxiang --- changelog: v2: deal with comment by