commit | 854abd75841413f7966bc4fed83b36e78a1c285c | [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 | 05072822e6f84375ca4e6bbbdd2de2c93ba1bfdb | |
parent | e5872d58f5ad179fc03267f12257bee4159aace6 [diff] |
md/raid1: small code cleanup in end_sync_write 'mirror' is only used to find 'rdev', several times. So just find 'rdev' once, and use it instead. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Shaohua Li <shli@fb.com>