mirror of
				https://github.com/eledio-devices/thirdparty-littlefs.git
				synced 2025-10-31 08:42:40 +01:00 
			
		
		
		
	
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							| @@ -29,7 +29,7 @@ override CFLAGS += -DLFS_YES_TRACE | |||||||
| endif | endif | ||||||
| override CFLAGS += -I. | override CFLAGS += -I. | ||||||
| override CFLAGS += -std=c99 -Wall -pedantic | override CFLAGS += -std=c99 -Wall -pedantic | ||||||
| override CFLAGS += -Wextra -Wshadow -Wjump-misses-init | override CFLAGS += -Wextra -Wshadow -Wjump-misses-init -Wundef | ||||||
| # Remove missing-field-initializers because of GCC bug | # Remove missing-field-initializers because of GCC bug | ||||||
| override CFLAGS += -Wno-missing-field-initializers | override CFLAGS += -Wno-missing-field-initializers | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								lfs.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								lfs.c
									
									
									
									
									
								
							| @@ -1502,7 +1502,7 @@ static int lfs_dir_compact(lfs_t *lfs, | |||||||
|                     end = begin; |                     end = begin; | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
| #if LFS_MIGRATE | #ifdef LFS_MIGRATE | ||||||
|         } else if (lfs_pair_cmp(dir->pair, lfs->root) == 0 && lfs->lfs1) { |         } else if (lfs_pair_cmp(dir->pair, lfs->root) == 0 && lfs->lfs1) { | ||||||
|             // we can't relocate our root during migrations, as this would |             // we can't relocate our root during migrations, as this would | ||||||
|             // cause the superblock to get updated, which would clobber v1 |             // cause the superblock to get updated, which would clobber v1 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user