mirror of
				https://github.com/eledio-devices/thirdparty-littlefs.git
				synced 2025-10-31 00:32:38 +01:00 
			
		
		
		
	Removed old move logic, now passing move tests
The introduction of xored-globals required quite a bit of work to integrate. But now that that is working, we can strip out the old move logic. It's worth noting that the xored-globals integration with commits is relatively complex and subtle.
This commit is contained in:
		
							
								
								
									
										2
									
								
								lfs.h
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								lfs.h
									
									
									
									
									
								
							| @@ -107,7 +107,6 @@ enum lfs_type { | ||||
|  | ||||
|     LFS_STRUCT_NAME     = 0x041, | ||||
|     LFS_STRUCT_DELETE   = 0x047, | ||||
|     LFS_STRUCT_MOVE     = 0x046, // TODO rm me | ||||
|  | ||||
|     LFS_STRUCT_TAIL     = 0x081, | ||||
|     LFS_STRUCT_CRC      = 0x087, | ||||
| @@ -319,7 +318,6 @@ typedef struct lfs_mdir { | ||||
|     bool split; | ||||
|     lfs_globals_t globals; | ||||
|     bool stop_at_commit; // TODO hmmm | ||||
|     uint16_t moveid; // TODO rm me | ||||
| } lfs_mdir_t; | ||||
|  | ||||
| typedef struct lfs_cache { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user