diff options
author | Boris Burkov <boris@bur.io> | 2023-06-28 14:32:58 -0700 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-10-12 16:44:11 +0200 |
commit | 610647d7efd1ab06e9cd7ed6f0abe84b16385da7 (patch) | |
tree | 2c303d029134982c881d6501687a17f185408233 /fs/btrfs/accessors.h | |
parent | 1e0e9d5771c33d2c17a7f2a0e2a419aca91bb1a0 (diff) | |
download | linux-stable-610647d7efd1ab06e9cd7ed6f0abe84b16385da7.tar.gz linux-stable-610647d7efd1ab06e9cd7ed6f0abe84b16385da7.tar.bz2 linux-stable-610647d7efd1ab06e9cd7ed6f0abe84b16385da7.zip |
btrfs: rename tree_ref and data_ref owning_root
commit 113479d5b8eb ("btrfs: rename root fields in delayed refs structs")
changed these from ref_root to owning_root. However, there are many
circumstances where that name is not really accurate and the root on the
ref struct _is_ the referring root. In general, these are not the owning
root, though it does happen in some ref merging cases involving
overwrites during snapshots and similar.
Simple quotas cares quite a bit about tracking the original owner of an
extent through delayed refs, so rename these back to free up the name
for the real owning root (which will live on the generic btrfs_ref and
the head ref)
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 'fs/btrfs/accessors.h')
0 files changed, 0 insertions, 0 deletions