iomap: add struct iomap_ctx
authorJens Axboe <axboe@kernel.dk>
Thu, 12 Dec 2019 18:42:35 +0000 (11:42 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 31 Jan 2020 22:44:04 +0000 (15:44 -0700)
commita24ec005a6111af4ed8d600b6605dba66fced357
tree3c00e6183d64248aa9d810d1be861e1c6133002c
parentcf08536c3353fb9f95ec4223b6e6aac64718cf44
iomap: add struct iomap_ctx

We pass a lot of arguments to iomap_apply(), and subsequently to the
actors that it calls. In preparation for adding one more argument,
switch them to using a struct iomap_ctx instead. The actor gets a const
version of that, they are not supposed to change anything in it.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/dax.c
fs/iomap/apply.c
fs/iomap/buffered-io.c
fs/iomap/direct-io.c
fs/iomap/fiemap.c
fs/iomap/seek.c
fs/iomap/swapfile.c
include/linux/iomap.h