summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-target.c
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2013-03-01 23:45:47 +0100
committerAlasdair G Kergon <agk@redhat.com>2013-03-01 23:45:47 +0100
commit55a62eef8d1b50ceff3b7bf46851103bdcc7e5b0 (patch)
tree7fb8ce46abe5e6f4a0a2dbcf2d3c848fdbfe4a56 /drivers/md/dm-target.c
parentdm: clean up clone_bio (diff)
downloadlinux-55a62eef8d1b50ceff3b7bf46851103bdcc7e5b0.tar.xz
linux-55a62eef8d1b50ceff3b7bf46851103bdcc7e5b0.zip
dm: rename request variables to bios
Use 'bio' in the name of variables and functions that deal with bios rather than 'request' to avoid confusion with the normal block layer use of 'request'. No functional changes. Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-target.c')
-rw-r--r--drivers/md/dm-target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-target.c b/drivers/md/dm-target.c
index 617d21a77256..37ba5db71cd9 100644
--- a/drivers/md/dm-target.c
+++ b/drivers/md/dm-target.c
@@ -116,7 +116,7 @@ static int io_err_ctr(struct dm_target *tt, unsigned int argc, char **args)
/*
* Return error for discards instead of -EOPNOTSUPP
*/
- tt->num_discard_requests = 1;
+ tt->num_discard_bios = 1;
return 0;
}