diff options
author | NeilBrown <neilb@suse.de> | 2015-02-02 11:49:10 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2015-02-04 08:35:51 +1100 |
commit | a9d56950f763fa3e9d831541e62d223197d2ff60 (patch) | |
tree | 10e6bf867b7a1c9faf93e6d801610a3a4be8fbae /lib/string_helpers.c | |
parent | a79cfe12c619aa0fc401f9148d78faa6fc61a331 (diff) |
md/raid5: need_this_block: start simplifying the last two conditions.
Both the last two cases are only relevant if something has failed and
something needs to be written (but not over-written), and if it is OK
to pre-read blocks at this point. So factor out those tests and
explain them.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions