aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2022-10-16 21:30:49 +0100
committerJens Axboe <[email protected]>2022-10-16 17:07:53 -0600
commit4d5059512d283dab7372d282c2fbd43c7f5a2456 (patch)
tree384732a62cb297aee6e4f9272350bb1ac777eee2 /lib/test_fortify/write_overflow-strncpy-src.c
parent38eddb2c75fb99b9cd78445094ca0e1bda08d102 (diff)
io_uring: kill hot path fixed file bitmap debug checks
We test file_table.bitmap in io_file_get_fixed() to check invariants, don't do it, it's expensive and was showing up in profiles. No reports of this triggering has come in. Move the check to the file clear instead, which will still catch any wrong usage. Signed-off-by: Pavel Begunkov <[email protected]> Link: https://lore.kernel.org/r/cf77f2ded68d2e5b2bc7355784d969837d48e023.1665891182.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions