btrfs-progs: qgroup-verify: also repair qgroup status version
Current kernel only supports qgroup version 1. Make qgroup-verify to follow this standard. Signed-off-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
b917a4bd93
commit
b95e7e87bb
|
@ -1595,6 +1595,8 @@ static int repair_qgroup_status(struct btrfs_fs_info *info)
|
|||
btrfs_set_qgroup_status_rescan(path.nodes[0], status_item, 0);
|
||||
btrfs_set_qgroup_status_generation(path.nodes[0], status_item,
|
||||
trans->transid);
|
||||
btrfs_set_qgroup_status_version(path.nodes[0], status_item,
|
||||
BTRFS_QGROUP_STATUS_VERSION);
|
||||
|
||||
btrfs_mark_buffer_dirty(path.nodes[0]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue