summaryrefslogtreecommitdiff
path: root/fs/btrfs/ref-verify.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2024-04-13 06:01:38 +0300
committerDavid Sterba <dsterba@suse.com>2024-05-07 22:31:05 +0300
commit53667634467178f0049d9d5300fabd017dfb5477 (patch)
tree9329a06ef16a61489667258c3ef2e65ec0839aa6 /fs/btrfs/ref-verify.c
parentcf4f04325b2b27efa5697ba0ea4c1abdee0035b4 (diff)
downloadlinux-53667634467178f0049d9d5300fabd017dfb5477.tar.xz
btrfs: rename btrfs_data_ref->ino to ->objectid
This is how we refer to it in the rest of the extent reference related code, make it consistent. Reviewed-by: Filipe Manana <fdmanana@suse.com> 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 'fs/btrfs/ref-verify.c')
-rw-r--r--fs/btrfs/ref-verify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ref-verify.c b/fs/btrfs/ref-verify.c
index 94bbb7ef9a13..cf531255ab76 100644
--- a/fs/btrfs/ref-verify.c
+++ b/fs/btrfs/ref-verify.c
@@ -688,7 +688,7 @@ int btrfs_ref_tree_mod(struct btrfs_fs_info *fs_info,
owner = generic_ref->tree_ref.level;
} else if (!parent) {
ref_root = generic_ref->ref_root;
- owner = generic_ref->data_ref.ino;
+ owner = generic_ref->data_ref.objectid;
offset = generic_ref->data_ref.offset;
}
metadata = owner < BTRFS_FIRST_FREE_OBJECTID;