diff options
author | NeilBrown <neilb@suse.de> | 2015-05-08 18:19:32 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2015-05-08 18:46:52 +1000 |
commit | b0c783b32318bef29d64086fa812e8c659cb5b37 (patch) | |
tree | bda4be5d9eb7fdca4d0d42a227de170a986ec424 /drivers/firmware | |
parent | f18c1a35f62caccb527e8b0990c8801596e7c662 (diff) | |
download | linux-b0c783b32318bef29d64086fa812e8c659cb5b37.tar.gz linux-b0c783b32318bef29d64086fa812e8c659cb5b37.tar.bz2 linux-b0c783b32318bef29d64086fa812e8c659cb5b37.zip |
md/raid5: more incorrect BUG_ON in handle_stripe_fill.
It is not incorrect to call handle_stripe_fill() when
a batch of full-stripe writes is active.
It is, however, a BUG if fetch_block() then decides
it needs to actually fetch anything.
So move the 'BUG_ON' to where it belongs.
Signed-off-by: NeilBrown <neilb@suse.de>
Fixes: 59fc630b8b5f ("RAID5: batch adjacent full stripe write")
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions