From: Darrick J. Wong Date: Fri, 17 Nov 2017 04:11:32 +0000 (-0600) Subject: xfs: scrub inodes X-Git-Tag: v4.15.0-rc1~143^2~61 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1155b77eb0660da603ca92112b246575f606e1e8;p=thirdparty%2Fxfsprogs-dev.git xfs: scrub inodes Source kernel commit: 80e4e12688029e42fc6ab4cf7f229b090c61e6a7 Scrub the fields within an inode. Signed-off-by: Darrick J. Wong Reviewed-by: Dave Chinner Signed-off-by: Eric Sandeen --- diff --git a/libxfs/xfs_fs.h b/libxfs/xfs_fs.h index 6226abcaf..657af5190 100644 --- a/libxfs/xfs_fs.h +++ b/libxfs/xfs_fs.h @@ -515,9 +515,10 @@ struct xfs_scrub_metadata { #define XFS_SCRUB_TYPE_FINOBT 8 /* free inode btree */ #define XFS_SCRUB_TYPE_RMAPBT 9 /* reverse mapping btree */ #define XFS_SCRUB_TYPE_REFCNTBT 10 /* reference count btree */ +#define XFS_SCRUB_TYPE_INODE 11 /* inode record */ /* Number of scrub subcommands. */ -#define XFS_SCRUB_TYPE_NR 11 +#define XFS_SCRUB_TYPE_NR 12 /* i: Repair this metadata. */ #define XFS_SCRUB_IFLAG_REPAIR (1 << 0)