aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2020-12-16 11:18:47 -0500
committerDavid Sterba <dsterba@suse.com>2021-02-08 22:58:50 +0100
commit1478143ac81acc4094f8501a88e9e6ef9ff0e4a5 (patch)
tree46da1c5a63c634e46c32b4f2be35e793c0c87f0c /fs/btrfs/dev-replace.c
parent0d73a11c62642a25b688d09ae04b3b1f1b58ebb9 (diff)
downloadlinux-1478143ac81acc4094f8501a88e9e6ef9ff0e4a5.tar.gz
linux-1478143ac81acc4094f8501a88e9e6ef9ff0e4a5.tar.bz2
linux-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 <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions