Skip to content

Commit 9322c47

Browse files
committed
Merge tag 'xfs-5.9-fixes-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
Pull xfs fix from Darrick Wong: "Fix a broken metadata verifier that would incorrectly validate attr fork extents of a realtime file against the realtime volume" * tag 'xfs-5.9-fixes-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux: xfs: fix xfs_bmap_validate_extent_raw when checking attr fork of rt files
2 parents b17164e + d0c20d3 commit 9322c47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/xfs/libxfs/xfs_bmap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6226,7 +6226,7 @@ xfs_bmap_validate_extent(
62266226

62276227
isrt = XFS_IS_REALTIME_INODE(ip);
62286228
endfsb = irec->br_startblock + irec->br_blockcount - 1;
6229-
if (isrt) {
6229+
if (isrt && whichfork == XFS_DATA_FORK) {
62306230
if (!xfs_verify_rtbno(mp, irec->br_startblock))
62316231
return __this_address;
62326232
if (!xfs_verify_rtbno(mp, endfsb))

0 commit comments

Comments
 (0)