commit | e5872d58f5ad179fc03267f12257bee4159aace6 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.com> | Thu Jun 02 16:19:52 2016 +1000 |
committer | Shaohua Li <shli@fb.com> | Mon Jun 13 11:54:17 2016 -0700 |
tree | 101a4bff25d249d3385786c5653b0259b143bff5 | |
parent | 4056ca51a2ed2eb22fd2fa9b0400b1dcaf78a6b5 [diff] |
md/raid1: small cleanup in raid1_end_read/write_request Both functions use conf->mirrors[mirror].rdev several times, so improve readability by storing this in a local variable. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Shaohua Li <shli@fb.com>