summaryrefslogtreecommitdiff
path: root/kernel/printk/braille.h
diff options
context:
space:
mode:
authorBoris Burkov <boris@bur.io>2020-11-18 15:06:18 -0800
committerDavid Sterba <dsterba@suse.com>2020-12-09 19:16:07 +0100
commit997e3e2e71b32b31bfab6b299d9db05af285b457 (patch)
tree3e14ab3fe2d7c3d6817fd3d616571603e8240d65 /kernel/printk/braille.h
parent8f1c21d7490fc1ac5ef364b7085987ca439fb32f (diff)
btrfs: only mark bg->needs_free_space if free space tree is on
If we attempt to create a free space tree while any block groups have needs_free_space set, we will double add the new free space item and hit EEXIST. Previously, we only created the free space tree on a new mount, so we never hit the case, but if we try to create it on a remount, such block groups could exist and trip us up. We don't do anything with this field unless the free space tree is enabled, so there is no harm in not setting it. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Boris Burkov <boris@bur.io> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'kernel/printk/braille.h')
0 files changed, 0 insertions, 0 deletions