diff options
| author | Eric Sandeen <sandeen@sandeen.net> | 2026-10-13 19:16:39 -0500 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-10-14 10:16:23 +0200 |
| commit | 5beb41df46f20d8ab5591c5c1f27e79e8a761616 (patch) | |
| tree | d69aee77d0914895cacd856c5e5f57b9644c8048 /tools/lib/python | |
| parent | 90388d46b08ac8dd2c179f63f8739b4ac514d926 (diff) | |
| download | linux-next-5beb41df46f20d8ab5591c5c1f27e79e8a761616.tar.gz linux-next-5beb41df46f20d8ab5591c5c1f27e79e8a761616.zip | |
xfs: add missing cursor status check after xfs_inobt_get_rec
The xfs_inobt_get_rec() call in xfs_ialloc_count_ondisk fails to check
the &has_record return - if the record is not found, the next
conditional will read an uninitialized or stale irec. Fix that.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
