diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-04-22 19:48:28 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-04-24 02:55:19 +0300 |
commit | b44bfc06958f49ccb611632a4fb7c7df4fdcbc06 (patch) | |
tree | bb0ec78282155688107a0060025c5c5781780240 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 66917537522312a6e462787f0f347d6998cf7038 (diff) | |
download | linux-b44bfc06958f49ccb611632a4fb7c7df4fdcbc06.tar.xz |
xfs: fix iunlock calls in xrep_adoption_trans_alloc
If the transaction allocation in xrep_adoption_trans_alloc fails, we
should drop only the locks that we took. In this case this is
ILOCK_EXCL of both the orphanage and the file being repaired. Dropping
any IOLOCK here is incorrect.
Found by fuzzing u3.sfdir3.list[1].name = zeroes in xfs/1546.
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