===
[snip]
ID 291 gen 78 top level 5 path snap34
ID 293 gen 78 top level 5 path snap35
[snip]
Subvolume id 291 is gone
Subvolume id 293 is gone
[snip]
############### /home/misono/src/btrfs-progs/btrfs subvolum list -d .
cleaned: 292 <- there was no subvolume with objectid 292
[snip]
===
I'm not sure where this number comes from, but isn't it better to filter them?
---
cmds-subvolume.c | 1 +
1 file changed, 1 insertion(+)
@@ -1112,6 +1112,7 @@ static struct subvol_list *btrfs_list_deleted_subvols(int fd,
* The subvolume might have been cleaned up since it was
* returned.
*/
+ printf("cleaned: %ld\n", ids[i]);
continue;
} else if (err) {
error_btrfs_util(err);