btrfs-progs: check: fix typo in device_extent_record::chunk_objectid

This header is exported to /usr/include/btrfs but there are no known
users, so the change should be safe.

Generated by https://github.com/jsoref/spelling

Issue: #154
Author: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: David Sterba <dsterba@suse.com>
master
Josh Soref 2018-11-26 18:09:54 +01:00 committed by David Sterba
parent 2cd4a76ea9
commit 33d375bc20
2 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ struct device_extent_record {
u8 type;
u64 offset;
u64 chunk_objecteid;
u64 chunk_objectid;
u64 chunk_offset;
u64 length;
};

View File

@ -5043,7 +5043,7 @@ btrfs_new_device_extent_record(struct extent_buffer *leaf,
rec->offset = key->offset;
ptr = btrfs_item_ptr(leaf, slot, struct btrfs_dev_extent);
rec->chunk_objecteid =
rec->chunk_objectid =
btrfs_dev_extent_chunk_objectid(leaf, ptr);
rec->chunk_offset =
btrfs_dev_extent_chunk_offset(leaf, ptr);