scripts: dbglfs.py: Fixed a couple mid=-1 issues
- Fixed Mtree.lookupleaf accepting mbid=0, which caused dbglfs.py to double print all files with mbid=-1 - Fixed grm mids not being mapped to mbid=-1 and related orphan false positives
This commit is contained in:
+1
-1
@@ -1718,7 +1718,7 @@ class Mtree:
|
||||
|
||||
# no mtree? must be inlined in mroot
|
||||
if self.mtree is None:
|
||||
if mid.mbid >= (1 << self.mbits):
|
||||
if mid.mbid != -1:
|
||||
if path:
|
||||
return None, path_
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user