git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af6d7b7
)
md/raid10: some tidying up in fix_read_error
author
NeilBrown
<neilb@suse.de>
Wed, 11 May 2011 04:53:17 +0000
(14:53 +1000)
committer
NeilBrown
<neilb@suse.de>
Wed, 11 May 2011 04:53:17 +0000
(14:53 +1000)
Currently the rdev on which a read error happened could be removed
before we perform the fix_error handling. This requires extra tests
for NULL.
So delay the rdev_dec_pending call until after the call to
fix_read_error so that we can be sure that the rdev still exists.
This allows an 'if' clause to be removed so the body gets re-indented
back one level.
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid10.c
patch
|
blob
|
history
diff --cc
drivers/md/raid10.c
Simple merge