aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2020-12-16 16:18:47 +0000
committerDavid Sterba <[email protected]>2021-02-08 21:58:50 +0000
commit1478143ac81acc4094f8501a88e9e6ef9ff0e4a5 (patch)
tree46da1c5a63c634e46c32b4f2be35e793c0c87f0c /fs/btrfs/dev-replace.c
parentbtrfs: ref-verify: pass down tree block level when building refs (diff)
downloadkernel-1478143ac81acc4094f8501a88e9e6ef9ff0e4a5.tar.gz
kernel-1478143ac81acc4094f8501a88e9e6ef9ff0e4a5.zip
btrfs: ref-verify: make sure owner is set for all refs
I noticed that shared ref entries in ref-verify didn't have the proper owner set, which caused me to think there was something seriously wrong. However the problem is if we have a parent we simply weren't filling out the owner part of the reference, even though we have it. Fix this by making sure we set all the proper fields when we modify a reference, this way we'll have the proper owner if a problem happens and we don't waste time thinking we're updating the wrong level. Signed-off-by: Josef Bacik <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions