[PATCH v2 0/3] fsdax: Factor helper functions to simplify the code