summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-05-08 00:09:02 +0300
committerJens Axboe <axboe@kernel.dk>2024-05-08 17:27:45 +0300
commit340f634aa43d4172771a784da31e5d4c7c7d3126 (patch)
treead4123a6492c49bd38f2de4900ad2abbfeef536d /include/uapi
parent8a565304927fbd28c9f028c492b5c1714002cbab (diff)
downloadlinux-340f634aa43d4172771a784da31e5d4c7c7d3126.tar.xz
io_uring/filetable: don't unnecessarily clear/reset bitmap
If we're updating an existing slot, we clear the slot bitmap only to set it again right after. Just leave the bit set rather than toggle it off and on, and move the unused slot setting into the branch of not already having a file occupy this slot. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions