Fixes a recurring typo in comments.

This commit is contained in:
Andrea Mazzoleni 2014-10-19 21:09:22 +02:00
parent c671108973
commit 98deb4ba91
4 changed files with 4 additions and 4 deletions

View file

@ -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) {

View file

@ -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);

View file

@ -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) {

View file

@ -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;