mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-30 20:06:56 -05:00
In Windows ensures to use synced information for new files.
Keeps track of the sync state of info with a new st_sync field in the stat struct.
This commit is contained in:
parent
a0c6965959
commit
ca5e635aa1
6 changed files with 108 additions and 29 deletions
|
|
@ -377,7 +377,7 @@ void deleted_free(struct snapraid_deleted* deleted)
|
|||
free(deleted);
|
||||
}
|
||||
|
||||
struct snapraid_file* file_alloc(unsigned block_size, const char* sub, uint64_t size, uint64_t mtime_sec, int mtime_nsec, uint64_t inode, uint64_t physical)
|
||||
struct snapraid_file* file_alloc(unsigned block_size, const char* sub, data_off_t size, uint64_t mtime_sec, int mtime_nsec, uint64_t inode, uint64_t physical)
|
||||
{
|
||||
struct snapraid_file* file;
|
||||
block_off_t i;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue