mirror of
				https://github.com/Zygo/bees.git
				synced 2025-11-04 04:00:36 +01:00 
			
		
		
		
	extentwalker: fix missing characters
"C" in LOGICAL_INO, and avoid writing "flags=" in the log. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
		@@ -41,9 +41,7 @@ namespace crucible {
 | 
				
			|||||||
		if (e.m_flags & Extent::OBSCURED) {
 | 
							if (e.m_flags & Extent::OBSCURED) {
 | 
				
			||||||
			os << "Extent::OBSCURED|";
 | 
								os << "Extent::OBSCURED|";
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		if (e.m_flags & ~(Extent::HOLE | Extent::PREALLOC | Extent::OBSCURED)) {
 | 
							os << fiemap_extent_flags_ntoa(e.m_flags & ~(Extent::HOLE | Extent::PREALLOC | Extent::OBSCURED));
 | 
				
			||||||
			os << fiemap_extent_flags_ntoa(e.m_flags & ~(Extent::HOLE | Extent::PREALLOC | Extent::OBSCURED));
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
		if (e.m_physical_len) {
 | 
							if (e.m_physical_len) {
 | 
				
			||||||
			os << ", physical_len = " << to_hex(e.m_physical_len);
 | 
								os << ", physical_len = " << to_hex(e.m_physical_len);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
@@ -601,7 +599,7 @@ namespace crucible {
 | 
				
			|||||||
					e.m_flags |= FIEMAP_EXTENT_LAST;
 | 
										e.m_flags |= FIEMAP_EXTENT_LAST;
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
				// FIXME:  no FIEMAP_EXTENT_SHARED
 | 
									// FIXME:  no FIEMAP_EXTENT_SHARED
 | 
				
			||||||
				// WONTFIX:  non-trivial to replicate LOGIAL_INO
 | 
									// WONTFIX:  non-trivial to replicate LOGICAL_INO
 | 
				
			||||||
				rv.push_back(e);
 | 
									rv.push_back(e);
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user