]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
fuzzy: don't fuzz inode generation numbers
authorDarrick J. Wong <djwong@kernel.org>
Fri, 30 Dec 2022 22:19:39 +0000 (14:19 -0800)
committerZorro Lang <zlang@kernel.org>
Sat, 25 Feb 2023 13:07:16 +0000 (21:07 +0800)
The inode generation number is a randomly selected 32-bit integer that
isn't itself validated anywhere.  No need to fuzz that.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/fuzzy

index a3bc9e1790d1d7831ac2fefd00ec52334e9e8c61..580596eb1317b28fc2c140ae9da72a817e7b2f39 100644 (file)
@@ -83,7 +83,8 @@ __filter_unvalidated_xfs_db_fields() {
            -e '/\.lsn/d' \
            -e '/^core.flushiter/d' \
            -e '/^core.dmevmask/d' \
-           -e '/^core.dmstate/d'
+           -e '/^core.dmstate/d' \
+           -e '/^core.gen/d'
 }
 
 # Filter the xfs_db print command's field debug information