diff options
author | Alasdair G Kergon <agk@redhat.com> | 2005-07-12 18:53:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-12 19:19:10 -0400 |
commit | f6a80ea8ed44de0b19c42d41928be37a186a3f41 (patch) | |
tree | 2e565669d042e54576a4beaba03145ea35ec2145 /drivers/md/dm.c | |
parent | 3f603ed319d5120e883e64ac5967b2fc848fc43b (diff) |
[PATCH] device-mapper multipath: Barriers not supported
dm multipath will report barriers as not supported with this patch.
Signed-off-by: Lars Marowsky-Bree <lmb@suse.de>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/md/dm.c')
-rw-r--r-- | drivers/md/dm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index f6b03957efc7..5d40555b42ba 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c | |||
@@ -384,7 +384,7 @@ static void __map_bio(struct dm_target *ti, struct bio *clone, | |||
384 | /* error the io and bail out */ | 384 | /* error the io and bail out */ |
385 | struct dm_io *io = tio->io; | 385 | struct dm_io *io = tio->io; |
386 | free_tio(tio->io->md, tio); | 386 | free_tio(tio->io->md, tio); |
387 | dec_pending(io, -EIO); | 387 | dec_pending(io, r); |
388 | bio_put(clone); | 388 | bio_put(clone); |
389 | } | 389 | } |
390 | } | 390 | } |