gfs2-utils: master - libgfs2: Refactor block allocation functions