diff options
author | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2015-07-22 19:09:16 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.com> | 2015-07-24 05:37:48 +0200 |
commit | f7357273198adc86fe11c2a7be8a0816f44103bb (patch) | |
tree | 639ac99fb76688765b4eb5e8003b688525ac3e20 /drivers/md/md.c | |
parent | md/raid1: fix test for 'was read error from last working device'. (diff) | |
download | linux-f7357273198adc86fe11c2a7be8a0816f44103bb.tar.xz linux-f7357273198adc86fe11c2a7be8a0816f44103bb.zip |
md: Skip cluster setup in case of error while reading bitmap
If the bitmap read fails, the error code set is -EINVAL. However,
we don't check for errors and go ahead with cluster_setup.
Skip the cluster setup in case of error.
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Signed-off-by: NeilBrown <neilb@suse.com>
Diffstat (limited to 'drivers/md/md.c')
0 files changed, 0 insertions, 0 deletions