btrfs-progs: sb-mod: fix build after removing log_root_transid

Commit 963188943f ("btrfs-progs: make
btrfs_super_block::log_root_transid deprecated") deprecated
log_root_transid and broke build of sb-mod. As an unused member of sb we
don't need to edit it, so remove it from the list.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2023-10-19 18:03:32 +02:00
parent 6cf11f3e38
commit b13230f84f

View File

@ -119,7 +119,6 @@ struct sb_field {
{ .name = "root", .type = TYPE_U64 },
{ .name = "chunk_root", .type = TYPE_U64 },
{ .name = "log_root", .type = TYPE_U64 },
{ .name = "log_root_transid", .type = TYPE_U64 },
{ .name = "total_bytes", .type = TYPE_U64 },
{ .name = "bytes_used", .type = TYPE_U64 },
{ .name = "root_dir_objectid", .type = TYPE_U64 },
@ -238,7 +237,6 @@ static void mod_field_by_name(struct btrfs_super_block *sb, int set, const char
MOD_FIELD(root, set, val)
MOD_FIELD(chunk_root, set, val)
MOD_FIELD(log_root, set, val)
MOD_FIELD(log_root_transid, set, val)
MOD_FIELD(total_bytes, set, val)
MOD_FIELD(bytes_used, set, val)
MOD_FIELD(root_dir_objectid, set, val)