Remove need for helper function and simplify
Remove need for helper function and simplify

Use and_then for control flow if bd.record() returns Err.

Also, see:
http://xion.io/post/code/rust-iter-patterns.html section on collect().

Rust will convert an iterator of Results into an Ok(collection) if they
are all Ok, or return the first Err() it sees, which is what we want.

Signed-off-by: Andy Grover <b7d524d2f5cc5aebadb6b92b08d3ab26911cde33@redhat.com>

stratis-storage/stratisd,trgill/stratisd,mulkieran/stratisd,mulkieran/stratisd,stratis-storage/stratisd,stratis-storage/stratisd,trgill/stratisd