On Fri, Nov 24, 2023 at 03:52:54PM -0800, Darrick J. Wong wrote: > From: Darrick J. Wong <djwong@xxxxxxxxxx> > > Building off the rmap scanner that we added in the previous patch, we > can now find block 0 and try to use the information contained inside of > it to guess the mode of an inode if it's totally improper. Maybe I'm missing something important, but I don't see why a normal user couldn't construct a file that looks like an XFS directory, and that's a perfectly fine thing to do?