summary refs log tree commit diff
path: root/kernel/uid16.h
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2021-11-05 16:45:39 -0400
committerDavid Sterba <dsterba@suse.com>2022-01-03 15:09:48 +0100
commit826582cabc22e741ef3d420fd53b83de988b5647 (patch)
tree2bef051d5adea2ba36d3c918f3bd33a8adf23faf /kernel/uid16.h
parent8e1d02909185bddc76e98e680d7fea38be0e87da (diff)
downloadlinux-826582cabc22e741ef3d420fd53b83de988b5647.tar.gz
btrfs: do not special case the extent root for switch commit roots
This is a leftover from when we used to independently swap the extent
root's commit root and the fs tree commit roots.  At the time I simply
changed the helper to a list_add.  There's actually no reason to not add
the extent root to the switch commit root at this point, we don't care
about the order we do the switching since it's all done under the
commit_root_sem.

If we re-mark the extent root dirty after adding it to the
switch_commits list we'll see that BTRFS_ROOT_DIRTY isn't set and then
list_move it back onto the dirty list, and then we'll redo the tree
update and everything will be ok.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'kernel/uid16.h')
0 files changed, 0 insertions, 0 deletions