diff options
author | Nathan Huckleberry <nhuck@google.com> | 2022-07-22 09:38:21 +0000 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2022-07-28 17:46:14 -0400 |
commit | 0fcb100d50835d6823723ef0898cd565b3796e0a (patch) | |
tree | e8b780112db81b64c9f689c38bd52b09b39f7ca7 /drivers/md/dm-snap-persistent.c | |
parent | 9dd1cd3220eca534f2d47afad7ce85f4c40118d8 (diff) | |
download | lwn-0fcb100d50835d6823723ef0898cd565b3796e0a.tar.gz lwn-0fcb100d50835d6823723ef0898cd565b3796e0a.zip |
dm bufio: Add flags argument to dm_bufio_client_create
Add a flags argument to dm_bufio_client_create and update all the
callers. This is in preparation to add the DM_BUFIO_NO_SLEEP flag.
Signed-off-by: Nathan Huckleberry <nhuck@google.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'drivers/md/dm-snap-persistent.c')
-rw-r--r-- | drivers/md/dm-snap-persistent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-snap-persistent.c b/drivers/md/dm-snap-persistent.c index 3bb5cff5d6fc..aaa699749c3b 100644 --- a/drivers/md/dm-snap-persistent.c +++ b/drivers/md/dm-snap-persistent.c @@ -494,7 +494,7 @@ static int read_exceptions(struct pstore *ps, client = dm_bufio_client_create(dm_snap_cow(ps->store->snap)->bdev, ps->store->chunk_size << SECTOR_SHIFT, - 1, 0, NULL, NULL); + 1, 0, NULL, NULL, 0); if (IS_ERR(client)) return PTR_ERR(client); |