On Tue, Sep 03, 2019 at 09:38:47PM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > Create xfrog analogues of the libxfs byte/sector/block conversion > functions and convert spaceman to use them instead of open-coded > arithmatic we do now. > > Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > --- > libfrog/fsgeom.c | 1 + > libfrog/fsgeom.h | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++++ > spaceman/freesp.c | 15 +++------ > spaceman/trim.c | 9 +++--- > 4 files changed, 96 insertions(+), 14 deletions(-) Looks good. Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx> -- Dave Chinner david@xxxxxxxxxxxxx