浏览代码

Removed outdated note about moves and powerloss

Christopher Haster 7 年之前
父节点
当前提交
93ece2e87a
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      lfs.h

+ 0 - 4
lfs.h

@@ -320,10 +320,6 @@ int lfs_remove(lfs_t *lfs, const char *path);
 // If the destination exists, it must match the source in type.
 // If the destination is a directory, the directory must be empty.
 //
-// Note: If power loss occurs, it is possible that the file or directory
-// will exist in both the oldpath and newpath simultaneously after the
-// next mount.
-//
 // Returns a negative error code on failure.
 int lfs_rename(lfs_t *lfs, const char *oldpath, const char *newpath);