riak_kv_fs2_backend.erl
riak_kv_fs2_backend.erl

Fixes:

    riak_kv_fs2_backend.erl:86: The specification for riak_kv_fs2_backend:start/2 states that the function might also return {'error',_} but the inferred return is {'ok' | {'error',atom()},{'state',binary() | string()}}
    riak_kv_fs2_backend.erl:149: The specification for riak_kv_fs2_backend:fold_buckets/4 states that the function might also return {'error',_} but the inferred return is {'async',fun(() -> any())} | {'ok',_}
    riak_kv_fs2_backend.erl:169: The specification for riak_kv_fs2_backend:fold_keys/4 states that the function might also return {'error',_} but the inferred return is {'async',fun(() -> any())} | {'ok',_}
    riak_kv_fs2_backend.erl:188: The specification for riak_kv_fs2_backend:fold_objects/4 states that the function might also return {'error',_} but the inferred return is {'async',fun(() -> any())} | {'ok',_}
    riak_kv_fs2_backend.erl:209: The specification for riak_kv_fs2_backend:drop/1 states that the function might also return {'error',_,{'state',_}} but the inferred return is {'ok',{'state',atom() | binary() | [any()]}}
    riak_kv_fs2_backend.erl:211: Expression produces a value of type ['ok' | {'error',atom()}], but this value is unmatched
    riak_kv_fs2_backend.erl:213: Expression produces a value of type string(), but this value is unmatched
    riak_kv_fs2_backend.erl:214: Expression produces a value of type 'ok' | {'error',atom()}, but this value is unmatched
    riak_kv_fs2_backend.erl:224: Invalid type specification for function riak_kv_fs2_backend:status/1. The success typing is (_) -> ['no_status_sorry',...]
    riak_kv_fs2_backend.erl:397: Invalid type specification for function riak_kv_fs2_backend:pack_ondisk/1. The success typing is (binary()) -> [binary(),...]

sdebnath/riak_cs,dragonfax/riak_cs,GabrielNicolasAvellaneda/riak_cs,sdebnath/riak_cs,sdebnath/riak_cs,basho/riak_cs_report,dragonfax/riak_cs,basho/riak_cs,yangchengjian/riak_cs,laurenrother/riak_cs,yangchengjian/riak_cs,GabrielNicolasAvellaneda/riak_cs,yangchengjian/riak_cs,GabrielNicolasAvellaneda/riak_cs,basho/riak_cs,laurenrother/riak_cs,GabrielNicolasAvellaneda/riak_cs,yangchengjian/riak_cs,laurenrother/riak_cs,basho/riak_cs_lfs,sdebnath/riak_cs,laurenrother/riak_cs,dragonfax/riak_cs,basho/riak_cs,dragonfax/riak_cs,basho/riak_cs