xfs
[Top] [All Lists]

[PATCH 13/24] xfs: scrub inodes

To: david@xxxxxxxxxxxxx, darrick.wong@xxxxxxxxxx
Subject: [PATCH 13/24] xfs: scrub inodes
From: "Darrick J. Wong" <darrick.wong@xxxxxxxxxx>
Date: Thu, 25 Aug 2016 16:56:43 -0700
Cc: linux-xfs@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <147216931783.6398.1716678878794493264.stgit@xxxxxxxxxxxxxxxx>
References: <147216931783.6398.1716678878794493264.stgit@xxxxxxxxxxxxxxxx>
User-agent: StGit/0.17.1-dirty
Scrub the fields within an inode.

Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
---
 libxfs/xfs_fs.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


diff --git a/libxfs/xfs_fs.h b/libxfs/xfs_fs.h
index 45e0800..f8301c8 100644
--- a/libxfs/xfs_fs.h
+++ b/libxfs/xfs_fs.h
@@ -569,7 +569,8 @@ struct xfs_scrub_metadata {
 #define XFS_SCRUB_TYPE_FINOBT  7       /* free inode btree */
 #define XFS_SCRUB_TYPE_RMAPBT  8       /* reverse mapping btree */
 #define XFS_SCRUB_TYPE_REFCNTBT        9       /* reference count btree */
-#define XFS_SCRUB_TYPE_MAX     9
+#define XFS_SCRUB_TYPE_INODE   10      /* inode record */
+#define XFS_SCRUB_TYPE_MAX     10
 
 #define XFS_SCRUB_FLAGS_ALL    0x0     /* no flags yet */
 

<Prev in Thread] Current Thread [Next in Thread>