]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs: scrub symbolic links
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 17 Nov 2017 04:11:32 +0000 (22:11 -0600)
committerEric Sandeen <sandeen@redhat.com>
Fri, 17 Nov 2017 04:11:32 +0000 (22:11 -0600)
Source kernel commit: 2a721dbbc8bf4d76581fb073aa0d9554df56da1a

Create the infrastructure to scrub symbolic link data.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_fs.h

index 8c972a3c4ad591341960c3f75b05e3f09f1e8646..181209f5ccad2bb41af9d6956596a9f21fbc584b 100644 (file)
@@ -521,9 +521,10 @@ struct xfs_scrub_metadata {
 #define XFS_SCRUB_TYPE_BMBTC   14      /* CoW fork block mapping */
 #define XFS_SCRUB_TYPE_DIR     15      /* directory */
 #define XFS_SCRUB_TYPE_XATTR   16      /* extended attribute */
+#define XFS_SCRUB_TYPE_SYMLINK 17      /* symbolic link */
 
 /* Number of scrub subcommands. */
-#define XFS_SCRUB_TYPE_NR      17
+#define XFS_SCRUB_TYPE_NR      18
 
 /* i: Repair this metadata. */
 #define XFS_SCRUB_IFLAG_REPAIR         (1 << 0)