[PATCH 04/10] Fix return value of get_pv_space for size of 0.