On Tue, Oct 23, 2018 at 5:49 PM Darrick J. Wong <darrick.wong@xxxxxxxxxx> wrote: > > On Thu, Oct 11, 2018 at 09:44:24PM +0200, Stefan Ring wrote: > > I have empirically found and tried to fix some places where stale data was not > > properly zeroed out. > > > > In the order of the code changes: > > > > - The "freeindex" blocks in inode directories, from last entry to end of block. > > - XFS_DIR{2,3}_LEAFN_MAGIC, from last entry to end of block. > > - In btree format inodes before as well as after the btree pointers. > > - In dev inodes, everything after the header. > > --- > > db/metadump.c | 106 +++++++++++++++++++++++++++++++++++++++++++++++++++++----- > > 1 file changed, 98 insertions(+), 8 deletions(-) > > > > diff --git a/db/metadump.c b/db/metadump.c > > index ff96860d..c8213d41 100644 > > --- a/db/metadump.c > > +++ b/db/metadump.c > > @@ -1421,12 +1421,49 @@ process_sf_attr( > > memset(asfep, 0, XFS_DFORK_ASIZE(dip, mp) - ino_attr_size); > > } > > > > +static void > > +process_dir_free_block( > > I think patch 1 references this function in patch 2? If this is the case, oops. I thought about this while preparing the diffs but forgot about it again... I should find some time this weekend for another round of polishing these patches.