diff options
author | Alasdair G Kergon <agk@redhat.com> | 2005-07-12 15:53:01 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-12 16:19:10 -0700 |
commit | f6a80ea8ed44de0b19c42d41928be37a186a3f41 (patch) | |
tree | 2e565669d042e54576a4beaba03145ea35ec2145 /drivers/md/dm-snap.c | |
parent | 3f603ed319d5120e883e64ac5967b2fc848fc43b (diff) | |
download | linux-f6a80ea8ed44de0b19c42d41928be37a186a3f41.tar.gz linux-f6a80ea8ed44de0b19c42d41928be37a186a3f41.tar.bz2 linux-f6a80ea8ed44de0b19c42d41928be37a186a3f41.zip |
[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-snap.c')
-rw-r--r-- | drivers/md/dm-snap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-snap.c b/drivers/md/dm-snap.c index 7e691ab9a748..594d1f6b4789 100644 --- a/drivers/md/dm-snap.c +++ b/drivers/md/dm-snap.c @@ -777,7 +777,7 @@ static int snapshot_map(struct dm_target *ti, struct bio *bio, /* Full snapshots are not usable */ if (!s->valid) - return -1; + return -EIO; /* * Write to snapshot - higher level takes care of RW/RO |