]> www.infradead.org Git - users/jedix/linux-maple.git/commit
loop: remove the use_dio field in struct loop_device
authorChristoph Hellwig <hch@lst.de>
Fri, 10 Jan 2025 07:37:38 +0000 (08:37 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 10 Jan 2025 14:31:50 +0000 (07:31 -0700)
commitafd69d5c4a1049230fa91c9b54fdd8132f755503
tree3919cda9f6e8d31717712307409542312b16a694
parent0cd719aa63def1d57316e8e903f01f4af0641a46
loop: remove the use_dio field in struct loop_device

This field duplicate the LO_FLAGS_DIRECT_IO flag in lo_flags.  Remove it
to have a single source of truth about using direct I/O.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20250110073750.1582447-9-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/loop.c