diff options
author | 2006-05-01 12:15:45 -0700 | |
---|---|---|
committer | 2006-05-01 18:17:42 -0700 | |
commit | e0a33270ed0e8e00cbb882a33d21e1f92aac0ceb (patch) | |
tree | 37879a141c5168577813b318cf825ccc0c97204c /mm/sparse.c | |
parent | [PATCH] md: Avoid oops when attempting to fix read errors on raid10 (diff) | |
download | linux-rng-e0a33270ed0e8e00cbb882a33d21e1f92aac0ceb.tar.xz linux-rng-e0a33270ed0e8e00cbb882a33d21e1f92aac0ceb.zip |
[PATCH] md: Fixed refcounting/locking when attempting read error correction in raid10
We need to hold a reference to rdevs while reading and writing to attempt to
correct read errors. This reference must be taken under an rcu lock.
Signed-off-by: Neil Brown <neilb@suse.de>
Cc: "Paul E. McKenney" <paulmck@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions