Re: [RFC] libxfs kernel infrastructure (was [XFS updates] XFS development tree branch, xfs-libxfs-in-kernel-RFC, created. xfs-for-linus-3.15-rc2-52-g6579dd8)

Christoph Hellwig
2014-05-06T08:43:30Z

Getting rid of the need for xfs_mount.h in xfs_ialloc.h xfs_da_format.h
should be simple:

- inline xfs_make_iptr into the only caller
- move xfs_icluster_size_fsb to xfs_ialloc.c and just provide a
prototype for it.
- the various conversion routines for the directory blocks really
shouldn't be in xfs_da_format.h anyway as they don't define the
format. Just have some other header that requires a version of
xfs_mount included first.