I think this commit is the best indication the inumbers + bulkstat game was a really bad idea from the start, and we should have instead added a bulkstat flag to return records for corrupted inodes instead. I'll cook up a patch for that, but in the meantime we'll need workarounds like this one. Reviewed-by: Christoph Hellwig <hch@xxxxxx>