mirror of
https://github.com/versity/scoutfs.git
synced 2026-01-05 03:44:05 +00:00
Manifest item reading tracked wrong key
When iterating over items the manifest would always insert whatever values it found at the caller's key, instead of the key that it found in the segment. Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
@@ -425,7 +425,7 @@ int scoutfs_manifest_read_items(struct super_block *sb, struct kvec *key)
|
||||
}
|
||||
|
||||
/* remember new least key */
|
||||
scoutfs_kvec_clone(found_key, key);
|
||||
scoutfs_kvec_clone(found_key, item_key);
|
||||
scoutfs_kvec_clone(found_val, item_val);
|
||||
found = true;
|
||||
had_found = 0;
|
||||
|
||||
Reference in New Issue
Block a user