aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2025-01-10 08:37:35 +0100
committerJens Axboe <axboe@kernel.dk>2025-01-10 07:31:50 -0700
commitdc909525daec7c7c5d628683c99d26e281c1a7bb (patch)
treea9d7ac339415c9917dc8862acbf23f8ce75a0118 /scripts/generate_rust_analyzer.py
parentloop: only write back pagecache when starting to to use direct I/O (diff)
downloadwireguard-linux-dc909525daec7c7c5d628683c99d26e281c1a7bb.tar.xz
wireguard-linux-dc909525daec7c7c5d628683c99d26e281c1a7bb.zip
loop: open code the direct I/O flag update in loop_set_dio
loop_set_dio is different from the other (__)loop_update_dio callers in that it doesn't take any implicit conditions into account and wants to update the direct I/O flag to the user passed in value and fail if that can't be done. Open code the logic here to prepare for simplifying the other direct I/O flag updates and to make the error handling less convoluted. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20250110073750.1582447-6-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions