diff options
author | Alasdair G Kergon <agk@redhat.com> | 2013-03-01 22:45:47 +0000 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2013-03-01 22:45:47 +0000 |
commit | 55a62eef8d1b50ceff3b7bf46851103bdcc7e5b0 (patch) | |
tree | 7fb8ce46abe5e6f4a0a2dbcf2d3c848fdbfe4a56 /drivers/md/dm-zero.c | |
parent | bd2a49b86d9aae0c505dcc99c0a073f9da2cc889 (diff) | |
download | linux-3.10-55a62eef8d1b50ceff3b7bf46851103bdcc7e5b0.tar.gz linux-3.10-55a62eef8d1b50ceff3b7bf46851103bdcc7e5b0.tar.bz2 linux-3.10-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-zero.c')
-rw-r--r-- | drivers/md/dm-zero.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-zero.c b/drivers/md/dm-zero.c index 69a5c3b3b34..c99003e0d47 100644 --- a/drivers/md/dm-zero.c +++ b/drivers/md/dm-zero.c @@ -25,7 +25,7 @@ static int zero_ctr(struct dm_target *ti, unsigned int argc, char **argv) /* * Silently drop discards, avoiding -EOPNOTSUPP. */ - ti->num_discard_requests = 1; + ti->num_discard_bios = 1; return 0; } |