aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-ebs-target.c
diff options
context:
space:
mode:
authorNathan Huckleberry <nhuck@google.com>2022-07-22 09:38:21 +0000
committerMike Snitzer <snitzer@kernel.org>2022-07-28 17:46:14 -0400
commit0fcb100d50835d6823723ef0898cd565b3796e0a (patch)
treee8b780112db81b64c9f689c38bd52b09b39f7ca7 /drivers/md/dm-ebs-target.c
parentdm: fix dm-raid crash if md_handle_request() splits bio (diff)
downloadlinux-dev-0fcb100d50835d6823723ef0898cd565b3796e0a.tar.xz
linux-dev-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.c3
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);