Re: [PATCH 5/6] Btrfs: remove BUG() in add_data_reference

2017-05-26 Thread Liu Bo
On Fri, May 26, 2017 at 08:20:11PM +0200, David Sterba wrote: > On Thu, May 25, 2017 at 06:26:30PM -0600, Liu Bo wrote: > > Now that we have a helper to report invalid value of extent inline ref > > type, we need to quit gracefully instead of throwing out a kernel panic. > > > > Signed-off-by:

Re: [PATCH 5/6] Btrfs: remove BUG() in add_data_reference

2017-05-26 Thread David Sterba
On Thu, May 25, 2017 at 06:26:30PM -0600, Liu Bo wrote: > Now that we have a helper to report invalid value of extent inline ref > type, we need to quit gracefully instead of throwing out a kernel panic. > > Signed-off-by: Liu Bo > --- > fs/btrfs/relocation.c | 5 - >

[PATCH 5/6] Btrfs: remove BUG() in add_data_reference

2017-05-25 Thread Liu Bo
Now that we have a helper to report invalid value of extent inline ref type, we need to quit gracefully instead of throwing out a kernel panic. Signed-off-by: Liu Bo --- fs/btrfs/relocation.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git