Displaying 1 result from an estimated 1 matches for "end_bio_multi_strip".
Did you mean:
end_bio_multi_stripe
2008 Apr 05
0
[PATCH] bio_endio support for linux 2.6.23 and older.
Hi there,
bio_endio() changed prototype on linux 2.6.24, support older kernels
using the older prototype.
diff -r 4b838034355c volumes.c
--- a/volumes.c Sat Apr 05 19:06:30 2008 +0100
+++ b/volumes.c Sat Apr 05 20:41:15 2008 +0100
@@ -912,7 +912,11 @@ static int end_bio_multi_stripe(struct b
err = multi->error;
kfree(multi);
+#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,23)
+ bio_endio(bio, bio->bi_size, err);
+#else
bio_endio(bio, err);
+#endif
} else {
bio_put(bio);...