mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2024-11-26 21:54:31 +08:00
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:
parent
6cf11f3e38
commit
b13230f84f
@ -119,7 +119,6 @@ struct sb_field {
|
|||||||
{ .name = "root", .type = TYPE_U64 },
|
{ .name = "root", .type = TYPE_U64 },
|
||||||
{ .name = "chunk_root", .type = TYPE_U64 },
|
{ .name = "chunk_root", .type = TYPE_U64 },
|
||||||
{ .name = "log_root", .type = TYPE_U64 },
|
{ .name = "log_root", .type = TYPE_U64 },
|
||||||
{ .name = "log_root_transid", .type = TYPE_U64 },
|
|
||||||
{ .name = "total_bytes", .type = TYPE_U64 },
|
{ .name = "total_bytes", .type = TYPE_U64 },
|
||||||
{ .name = "bytes_used", .type = TYPE_U64 },
|
{ .name = "bytes_used", .type = TYPE_U64 },
|
||||||
{ .name = "root_dir_objectid", .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(root, set, val)
|
||||||
MOD_FIELD(chunk_root, set, val)
|
MOD_FIELD(chunk_root, set, val)
|
||||||
MOD_FIELD(log_root, set, val)
|
MOD_FIELD(log_root, set, val)
|
||||||
MOD_FIELD(log_root_transid, set, val)
|
|
||||||
MOD_FIELD(total_bytes, set, val)
|
MOD_FIELD(total_bytes, set, val)
|
||||||
MOD_FIELD(bytes_used, set, val)
|
MOD_FIELD(bytes_used, set, val)
|
||||||
MOD_FIELD(root_dir_objectid, set, val)
|
MOD_FIELD(root_dir_objectid, set, val)
|
||||||
|
Loading…
Reference in New Issue
Block a user