Keep disks with pending deallocation records mapped in the content file

This commit is contained in:
Andrea Mazzoleni 2026-09-26 16:32:42 +02:00
parent b023939c6b
commit f80e93e9d3

View file

@ -1104,6 +1104,8 @@ int fs_is_empty(struct snapraid_disk* disk, block_off_t blockmax)
return 0;
if (!tommy_list_empty(&disk->dirlist))
return 0;
if (!tommy_list_empty(&disk->dealloclist))
return 0;
fs_lock(disk);