diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-04-22 19:47:24 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-04-23 17:46:51 +0300 |
commit | ef80de940a6344da1d4f12c948a0ad4d6ff6e841 (patch) | |
tree | 2a3e312beb82d973e2ff78e743710724806b01f6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cda60317ac57add7a0a2865aa29afbc6caad3e9a (diff) | |
download | linux-ef80de940a6344da1d4f12c948a0ad4d6ff6e841.tar.xz |
xfs: attr fork iext must be loaded before calling xfs_attr_is_leaf
Christoph noticed that the xfs_attr_is_leaf in xfs_attr_get_ilocked can
access the incore extent tree of the attr fork, but nothing in the
xfs_attr_get path guarantees that the incore tree is actually loaded.
Most of the time it is, but seeing as xfs_attr_is_leaf ignores the
return value of xfs_iext_get_extent I guess we've been making choices
based on random stack contents and nobody's complained?
Reported-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions