aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/io_uring/truncate.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-02-01 12:49:37 -0700
committerJens Axboe <axboe@kernel.dk>2024-02-08 13:27:06 -0700
commit3cdc4be114a9be61b7041a53e44aa71718a7cf28 (patch)
tree4e007ceeaa5394b5f3bbe77de4fe21f6152c93d6 /io_uring/truncate.h
parentio_uring: remove unconditional looping in local task_work handling (diff)
downloadwireguard-linux-3cdc4be114a9be61b7041a53e44aa71718a7cf28.tar.xz
wireguard-linux-3cdc4be114a9be61b7041a53e44aa71718a7cf28.zip
io_uring/poll: improve readability of poll reference decrementing
This overly long line is hard to read. Break it up by AND'ing the ref mask first, then perform the atomic_sub_return() with the value itself. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/truncate.h')
0 files changed, 0 insertions, 0 deletions