diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-10-18 07:37:44 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-10-27 01:38:25 +0300 |
commit | a5c46e5e8912d232b959faf511cd9a17cc829f0a (patch) | |
tree | cfb855ef552faf04cf53f76c93d500d217ea3ac3 /fs/xfs/xfs_dir2_readdir.c | |
parent | 7c4a07a424c18d95f49b0c0c3d8c5afd969e0a10 (diff) | |
download | linux-a5c46e5e8912d232b959faf511cd9a17cc829f0a.tar.xz |
xfs: scrub directory metadata
Scrub the hash tree and all the entries in a directory.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_dir2_readdir.c')
-rw-r--r-- | fs/xfs/xfs_dir2_readdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_dir2_readdir.c b/fs/xfs/xfs_dir2_readdir.c index ba2638d37031..238e3650a9d2 100644 --- a/fs/xfs/xfs_dir2_readdir.c +++ b/fs/xfs/xfs_dir2_readdir.c @@ -41,7 +41,7 @@ static unsigned char xfs_dir3_filetype_table[] = { DT_FIFO, DT_SOCK, DT_LNK, DT_WHT, }; -static unsigned char +unsigned char xfs_dir3_get_dtype( struct xfs_mount *mp, uint8_t filetype) |