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-ebs-target.c | |
parent | 9dd1cd3220eca534f2d47afad7ce85f4c40118d8 (diff) | |
download | linux-0fcb100d50835d6823723ef0898cd565b3796e0a.tar.gz linux-0fcb100d50835d6823723ef0898cd565b3796e0a.tar.bz2 linux-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-ebs-target.c')
-rw-r--r-- | drivers/md/dm-ebs-target.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/dm-ebs-target.c b/drivers/md/dm-ebs-target.c index 0221fa63f888..04a1f56d6588 100644 --- a/drivers/md/dm-ebs-target.c +++ b/drivers/md/dm-ebs-target.c @@ -312,7 +312,8 @@ static int ebs_ctr(struct dm_target *ti, unsigned int argc, char **argv) goto bad; } - ec->bufio = dm_bufio_client_create(ec->dev->bdev, to_bytes(ec->u_bs), 1, 0, NULL, NULL); + ec->bufio = dm_bufio_client_create(ec->dev->bdev, to_bytes(ec->u_bs), 1, + 0, NULL, NULL, 0); if (IS_ERR(ec->bufio)) { ti->error = "Cannot create dm bufio client"; r = PTR_ERR(ec->bufio); |