mirror of
https://github.com/versity/scoutfs.git
synced 2026-01-05 11:45:09 +00:00
Correctly store last manifest key
A copy+paste error led us to overwrite the first key in the manifest with the last, leaving the last uninitialized. Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
@@ -175,7 +175,7 @@ int scoutfs_manifest_add(struct super_block *sb, struct kvec *first,
|
||||
return -ENOMEM;
|
||||
|
||||
ret = scoutfs_kvec_dup_flatten(ment->first, first) ?:
|
||||
scoutfs_kvec_dup_flatten(ment->first, last);
|
||||
scoutfs_kvec_dup_flatten(ment->last, last);
|
||||
if (ret) {
|
||||
free_ment(ment);
|
||||
return -ENOMEM;
|
||||
|
||||
Reference in New Issue
Block a user