+38
−44
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Both of these methods perform similar checks; move that code to a helper so that we can ensure the checks are consistent. Reviewed-by:Alex Elder <elder@inktank.com> Signed-off-by:
Sage Weil <sage@inktank.com>