diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-10-18 06:37:45 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-10-27 00:38:26 +0200 |
commit | 2a721dbbc8bf4d76581fb073aa0d9554df56da1a (patch) | |
tree | 06ad8ca5c626eaf8d4d6f65a9cde47c066ae5f85 /fs/xfs/libxfs/xfs_fs.h | |
parent | xfs: scrub extended attributes (diff) | |
download | linux-2a721dbbc8bf4d76581fb073aa0d9554df56da1a.tar.xz linux-2a721dbbc8bf4d76581fb073aa0d9554df56da1a.zip |
xfs: scrub symbolic links
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>
Diffstat (limited to 'fs/xfs/libxfs/xfs_fs.h')
-rw-r--r-- | fs/xfs/libxfs/xfs_fs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_fs.h b/fs/xfs/libxfs/xfs_fs.h index 0834ce633518..bb8bcd0c32de 100644 --- a/fs/xfs/libxfs/xfs_fs.h +++ b/fs/xfs/libxfs/xfs_fs.h @@ -500,9 +500,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) |