summaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs
diff options
context:
space:
mode:
authorDarrick J. Wong2017-10-18 06:37:42 +0200
committerDarrick J. Wong2017-10-27 00:38:25 +0200
commit80e4e12688029e42fc6ab4cf7f229b090c61e6a7 (patch)
treed4d38776ab3c70d35453effa488ab947533687eb /fs/xfs/libxfs
parentxfs: scrub refcount btrees (diff)
downloadkernel-qcow2-linux-80e4e12688029e42fc6ab4cf7f229b090c61e6a7.tar.gz
kernel-qcow2-linux-80e4e12688029e42fc6ab4cf7f229b090c61e6a7.tar.xz
kernel-qcow2-linux-80e4e12688029e42fc6ab4cf7f229b090c61e6a7.zip
xfs: scrub inodes
Scrub the fields within an inode. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/libxfs')
-rw-r--r--fs/xfs/libxfs/xfs_fs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_fs.h b/fs/xfs/libxfs/xfs_fs.h
index b3f992c08b3b..f8463e0103b3 100644
--- a/fs/xfs/libxfs/xfs_fs.h
+++ b/fs/xfs/libxfs/xfs_fs.h
@@ -494,9 +494,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)