summaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_trans_inode.c
diff options
context:
space:
mode:
authorChandan Babu R <chandanrlinux@gmail.com>2021-03-26 10:52:56 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-04-07 14:36:34 -0700
commite773f88029b179ea03855c22d5052e2e90362a81 (patch)
treec2af25e8fc5d0fe4900caf8e08d4e5b1b4377ab0 /fs/xfs/libxfs/xfs_trans_inode.c
parent6e8bd39d7227747f13c891bc5a5fea00373d4bb9 (diff)
xfs: scrub: Remove incorrect check executed on block format directories
A directory with one directory block which in turns consists of two or more fs blocks is incorrectly flagged as corrupt by scrub since it assumes that "Block" format directories have a data fork single extent spanning the file offset range of [0, Dir block size - 1]. This commit fixes the bug by removing the incorrect check. Signed-off-by: Chandan Babu R <chandanrlinux@gmail.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/libxfs/xfs_trans_inode.c')
0 files changed, 0 insertions, 0 deletions