diff options
author | NeilBrown <neilb@suse.de> | 2006-09-01 06:27:36 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-01 20:39:08 +0200 |
commit | ddac7c7e3a0fe9cfdcef0de24476b8d69f8cf3e7 (patch) | |
tree | b75845fa2424284342869566b3ed5233abecde92 /include/asm-parisc | |
parent | [PATCH] ZVC: Scale thresholds depending on the size of the system (diff) | |
download | linux-ddac7c7e3a0fe9cfdcef0de24476b8d69f8cf3e7.tar.xz linux-ddac7c7e3a0fe9cfdcef0de24476b8d69f8cf3e7.zip |
[PATCH] md: Fix issues with referencing rdev in md/raid1
We need to be careful when referencing mirrors[i].rdev. It can disappear
under us at various times.
So:
fix a couple of problem places.
comment a couple of non-problem places
move an 'atomic_add' which deferences rdev down a little
way to some where where it is sure to not be NULL.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-parisc')
0 files changed, 0 insertions, 0 deletions