]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: fix xfs_bmap_validate_extent_raw when checking attr fork of rt files
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 2 Sep 2020 17:47:02 +0000 (10:47 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 3 Sep 2020 15:33:50 +0000 (08:33 -0700)
commitbae3710b2eeeb947b556c3ed66db2a74f4b4bedc
treed748b44509029f81de0435563385e285f315ce70
parent1a14d9a1e4e73355578e508b2540f3e8828ae8af
xfs: fix xfs_bmap_validate_extent_raw when checking attr fork of rt files

The realtime flag only applies to the data fork, so don't use the
realtime block number checks on the attr fork of a realtime file.

Fixes: 34d3302d2d73 ("xfs: refactor bmap record validation")
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
fs/xfs/libxfs/xfs_bmap.c