projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c27213
)
dm raid: use DM_ENDIO_INCOMPLETE
author
Mikulas Patocka
<mpatocka@redhat.com>
Fri, 21 Dec 2012 20:23:32 +0000
(20:23 +0000)
committer
Alasdair G Kergon
<agk@redhat.com>
Fri, 21 Dec 2012 20:23:32 +0000
(20:23 +0000)
Use a defined macro DM_ENDIO_INCOMPLETE instead of a numeric constant.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-raid1.c
patch
|
blob
|
history
diff --git
a/drivers/md/dm-raid1.c
b/drivers/md/dm-raid1.c
index b37467618b16464d9de8b216ffa433b233d176f8..cec5f9b3a27817c7d5845b7ce02a69579b6c8a68 100644
(file)
--- a/
drivers/md/dm-raid1.c
+++ b/
drivers/md/dm-raid1.c
@@
-1257,7
+1257,7
@@
static int mirror_end_io(struct dm_target *ti, struct bio *bio,
mempool_free(read_record, ms->read_record_pool);
map_context->ptr = NULL;
queue_bio(ms, bio, rw);
- return
1
;
+ return
DM_ENDIO_INCOMPLETE
;
}
DMERR("All replicated volumes dead, failing I/O");
}