diff --git a/src/fdcache_entity.cpp b/src/fdcache_entity.cpp index 9956049..5ed7039 100644 --- a/src/fdcache_entity.cpp +++ b/src/fdcache_entity.cpp @@ -2146,7 +2146,7 @@ bool FdEntity::PunchHole(off_t start, size_t size) // get page list that have no data fdpage_list_t nodata_pages; if(!pagelist.GetNoDataPageLists(nodata_pages)){ - S3FS_PRN_ERR("filed to get page list that have no data."); + S3FS_PRN_ERR("failed to get page list that have no data."); return false; } if(nodata_pages.empty()){ @@ -2158,9 +2158,9 @@ bool FdEntity::PunchHole(off_t start, size_t size) for(fdpage_list_t::const_iterator iter = nodata_pages.begin(); iter != nodata_pages.end(); ++iter){ if(0 != fallocate(physical_fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, iter->offset, iter->bytes)){ if(ENOSYS == errno || EOPNOTSUPP == errno){ - S3FS_PRN_ERR("filed to fallocate for punching hole to file with errno(%d), it maybe the fallocate function is not implemented in this kernel, or the file system does not support FALLOC_FL_PUNCH_HOLE.", errno); + S3FS_PRN_ERR("failed to fallocate for punching hole to file with errno(%d), it maybe the fallocate function is not implemented in this kernel, or the file system does not support FALLOC_FL_PUNCH_HOLE.", errno); }else{ - S3FS_PRN_ERR("filed to fallocate for punching hole to file with errno(%d)", errno); + S3FS_PRN_ERR("failed to fallocate for punching hole to file with errno(%d)", errno); } return false; } diff --git a/src/s3fs_help.cpp b/src/s3fs_help.cpp index d057ba8..923a8c8 100644 --- a/src/s3fs_help.cpp +++ b/src/s3fs_help.cpp @@ -369,15 +369,15 @@ static const char help_string[] = " invalidated even if this option is not specified.\n" "\n" " nocopyapi (for other incomplete compatibility object storage)\n" - " For a distributed object storage which is compatibility S3\n" - " API without PUT (copy api).\n" + " Enable compatibility with S3-like APIs which do not support\n" + " PUT (copy api).\n" " If you set this option, s3fs do not use PUT with \n" " \"x-amz-copy-source\" (copy api). Because traffic is increased\n" " 2-3 times by this option, we do not recommend this.\n" "\n" " norenameapi (for other incomplete compatibility object storage)\n" - " For a distributed object storage which is compatibility S3\n" - " API without PUT (copy api).\n" + " Enable compatibility with S3-like APIs which do not support\n" + " PUT (copy api).\n" " This option is a subset of nocopyapi option. The nocopyapi\n" " option does not use copy-api for all command (ex. chmod, chown,\n" " touch, mv, etc), but this option does not use copy-api for\n"