mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-21 07:26:29 -05:00
Rework snapshot interface
This commit is contained in:
parent
ec97fb95d2
commit
bfc92e5c05
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