mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-21 15:36:33 -05:00
Rework snapshot interface
This commit is contained in:
parent
76d26d1322
commit
e8d6dabec7
6 changed files with 147 additions and 157 deletions
|
|
@ -811,8 +811,7 @@ struct snapraid_disk* disk_alloc(const char* name, const char* dir, uint64_t dev
|
|||
pathslash(disk->mount_point, sizeof(disk->mount_point));
|
||||
|
||||
/* no snapshot by default */
|
||||
disk->snapshot_root[0] = 0;
|
||||
disk->snapshot_magic = 0;
|
||||
memset(&disk->fss, 0, sizeof(disk->fss));
|
||||
pathcpy(disk->dir, sizeof(disk->dir), disk->mount_point);
|
||||
|
||||
#if HAVE_THREAD
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue