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/scrub/scrub.c | |
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/scrub/scrub.c')
-rw-r--r-- | fs/xfs/scrub/scrub.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/xfs/scrub/scrub.c b/fs/xfs/scrub/scrub.c index f3fc429e909b..14487279d460 100644 --- a/fs/xfs/scrub/scrub.c +++ b/fs/xfs/scrub/scrub.c @@ -239,6 +239,10 @@ static const struct xfs_scrub_meta_ops meta_scrub_ops[] = { .setup = xfs_scrub_setup_xattr, .scrub = xfs_scrub_xattr, }, + { /* symbolic link */ + .setup = xfs_scrub_setup_symlink, + .scrub = xfs_scrub_symlink, + }, }; /* This isn't a stable feature, warn once per day. */ |