aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/ip_output.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2020-03-20 18:43:48 +0000
committerDavid Sterba <dsterba@suse.com>2020-03-20 21:31:32 +0100
commitd8e6fd5c7991033037842b32c9774370a038e902 (patch)
treeeec94933243b80d040a865b89e6a7744ea836f26 /net/ipv4/ip_output.c
parentbtrfs: fix log context list corruption after rename whiteout error (diff)
downloadlinux-dev-d8e6fd5c7991033037842b32c9774370a038e902.tar.xz
linux-dev-d8e6fd5c7991033037842b32c9774370a038e902.zip
btrfs: fix removal of raid[56|1c34} incompat flags after removing block group
We are incorrectly dropping the raid56 and raid1c34 incompat flags when there are still raid56 and raid1c34 block groups, not when we do not any of those anymore. The logic just got unintentionally broken after adding the support for the raid1c34 modes. Fix this by clear the flags only if we do not have block groups with the respective profiles. Fixes: 9c907446dce3 ("btrfs: drop incompat bit for raid1c34 after last block group is gone") Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'net/ipv4/ip_output.c')
0 files changed, 0 insertions, 0 deletions