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

2017-08-21 Thread David Sterba
On Fri, Aug 18, 2017 at 03:15:22PM -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 Reviewed-by: David Sterba -- To unsubscribe from this list: send

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

2017-08-18 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 a/fs/btrfs/relocation.c b/fs/btrfs