Thread (2 messages) 2 messages, 2 authors, 2010-08-12

Re: [PATCH] MD: raid1, fix BUG caused by flags handling

From: Jiri Slaby <hidden>
Date: 2010-08-12 12:06:48
Also in: lkml

On 08/12/2010 02:01 PM, Jiri Slaby wrote:
Commit 74450be1 (block: unify flags for struct bio and struct request)
Actually there are more than the two below introduced by the commit.
Hold on, I will post v2.
quoted hunk ↗ jump to hunk
--- a/drivers/md/raid1.c
+++ b/drivers/md/raid1.c
@@ -787,8 +787,8 @@ static int make_request(mddev_t *mddev, struct bio * bio)
 	struct bio_list bl;
 	struct page **behind_pages = NULL;
 	const int rw = bio_data_dir(bio);
-	const bool do_sync = (bio->bi_rw & REQ_SYNC);
-	bool do_barriers;
+	const unsigned long do_sync = (bio->bi_rw & REQ_SYNC);
+	unsigned long do_barriers;
 	mdk_rdev_t *blocked_rdev;
 
 	/*

-- 
js
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help