summaryrefslogtreecommitdiff
path: root/net/tipc/sysctl.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-05-07 15:09:02 -0600
committerJens Axboe <axboe@kernel.dk>2024-05-08 08:27:45 -0600
commit340f634aa43d4172771a784da31e5d4c7c7d3126 (patch)
treead4123a6492c49bd38f2de4900ad2abbfeef536d /net/tipc/sysctl.c
parent8a565304927fbd28c9f028c492b5c1714002cbab (diff)
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 'net/tipc/sysctl.c')
0 files changed, 0 insertions, 0 deletions