Delete snapshot links in Windows

This commit is contained in:
Andrea Mazzoleni 2026-05-15 09:15:27 +02:00
parent 9f62f23da0
commit d45c1007e7
6 changed files with 90 additions and 28 deletions

View file

@ -2558,7 +2558,7 @@ static int fssnapshot_zfs(const char* dir, uint32_t magic, struct fssnapshot_str
}
#endif
int fssnapshot(const char* path, struct fssnapshot_struct* fss)
int fssnapshot_mount(const char* path, struct fssnapshot_struct* fss)
{
#if HAVE_LINUX_DEVICE
struct statfs sfs;
@ -3069,6 +3069,11 @@ int fssnapshot_rename(const struct fssnapshot_struct* fss, const char* old_name,
#endif
}
void fssnapshot_unmount(const struct fssnapshot_struct* fss)
{
(void)fss;
}
uint64_t os_tick(void)
{
#if HAVE_MACH_ABSOLUTE_TIME