mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-25 18:40:19 -04:00
Keep disks with pending deallocation records mapped in the content file
This commit is contained in:
parent
b023939c6b
commit
f80e93e9d3
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue