xfs
[Top] [All Lists]

Re: [RFC] libxfs kernel infrastructure (was [XFS updates] XFS developmen

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: 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)
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Tue, 6 May 2014 01:43:28 -0700
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20140506075905.GA5421@dastard>
References: <20140506071855.F152E7FBC@xxxxxxxxxxx> <20140506075905.GA5421@dastard>
User-agent: Mutt/1.5.21 (2010-09-15)
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.

<Prev in Thread] Current Thread [Next in Thread>