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:
5d35e09
)
md/raid5: unite fetch_block5 and fetch_block6
author
NeilBrown
<neilb@suse.de>
Wed, 27 Jul 2011 01:00:36 +0000
(11:00 +1000)
committer
NeilBrown
<neilb@suse.de>
Wed, 27 Jul 2011 01:00:36 +0000
(11:00 +1000)
Provided that ->failed_num[1] is not a valid device number (which is
easily achieved) fetch_block6 provides all the functionality of
fetch_block5.
So remove the latter and rename the former to simply "fetch_block".
Then handle_stripe_fill5 and handle_stripe_fill6 become the same and
can similarly be united.
Signed-off-by: NeilBrown <neilb@suse.de>
Reviewed-by: Namhyung Kim <namhyung@gmail.com>
drivers/md/raid5.c
patch
|
blob
|
history
diff --cc
drivers/md/raid5.c
Simple merge