mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 02:49:02 -04:00
Fixes a recurring typo in comments.
This commit is contained in:
parent
c671108973
commit
98deb4ba91
4 changed files with 4 additions and 4 deletions
|
|
@ -269,7 +269,7 @@ static void import_dir(struct snapraid_state* state, const char* dir)
|
|||
|
||||
/* if the st_mode field is missing, takes care to fill it using normal lstat() */
|
||||
/* at now this can happen only in Windows (with HAVE_STRUCT_DIRENT_D_STAT defined), */
|
||||
/* becasue we use a directory reading method that doesn't read info about ReparsePoint. */
|
||||
/* because we use a directory reading method that doesn't read info about ReparsePoint. */
|
||||
/* Note that here we cannot call here lstat_sync(), because we don't know what kind */
|
||||
/* of file is it, and lstat_sync() doesn't always work */
|
||||
if (st.st_mode == 0) {
|
||||
|
|
|
|||
|
|
@ -248,7 +248,7 @@ int fsinfo(const char* path, int* has_persistent_inode, uint64_t* free_space);
|
|||
/**
|
||||
* Get the tick counter value.
|
||||
*
|
||||
* Note that the frequency is unspecified, becasue the time measure
|
||||
* Note that the frequency is unspecified, because the time measure
|
||||
* is meant to be used to compare the ratio between usage times.
|
||||
*/
|
||||
uint64_t tick(void);
|
||||
|
|
|
|||
|
|
@ -1206,7 +1206,7 @@ static int scan_dir(struct snapraid_scan* scan, int output, const char* dir, con
|
|||
#if HAVE_STRUCT_DIRENT_D_STAT
|
||||
/* if the st_mode field is missing, takes care to fill it using normal lstat() */
|
||||
/* at now this can happen only in Windows (with HAVE_STRUCT_DIRENT_D_STAT defined), */
|
||||
/* becasue we use a directory reading method that doesn't read info about ReparsePoint. */
|
||||
/* because we use a directory reading method that doesn't read info about ReparsePoint. */
|
||||
/* Note that here we cannot call here lstat_sync(), because we don't know what kind */
|
||||
/* of file is it, and lstat_sync() doesn't always work */
|
||||
if (st->st_mode == 0) {
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@ int filephy(const char* path, uint64_t size, uint64_t* physical)
|
|||
/* In this way we keep them in the directory traversal order */
|
||||
/* that at least keeps files in the same directory together. */
|
||||
/* Note also that in newer filesystem with snapshot, like ZFS, */
|
||||
/* the inode doesn't represent even less the disk position, becasue files */
|
||||
/* the inode doesn't represent even less the disk position, because files */
|
||||
/* are not overwritten in place, but rewritten in another location */
|
||||
/* of the disk. */
|
||||
*physical = FILEPHY_UNREPORTED_OFFSET;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue