iomap: add struct iomap_data
authorJens Axboe <axboe@kernel.dk>
Thu, 12 Dec 2019 18:42:35 +0000 (11:42 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 13 Dec 2019 03:39:53 +0000 (20:39 -0700)
commit9c0d22bb5af5cafc9b0e63f7a35a32eb26e1d846
treeab04096c3eaa852fc64c0c4bc33b35b8cb2697d5
parentd6102bc3e7ca4a986ff6ff235fac0f5103f02fc3
iomap: add struct iomap_data

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_data 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