| To: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] cleanup XFS_IFORK_*/XFS_DFORK* macros |
| From: | Timothy Shimmin <tes@xxxxxxx> |
| Date: | Mon, 26 Nov 2007 12:19:32 +1100 |
| Cc: | Christoph Hellwig <hch@xxxxxx>, xfs@xxxxxxxxxxx |
| In-reply-to: | <20071125163102.GB17922@xxxxxxxxxxxxx> |
| References: | <20070922102238.GA15732@xxxxxx> <20071125163102.GB17922@xxxxxxxxxxxxx> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Thunderbird 2.0.0.6 (Macintosh/20070728) |
Christoph Hellwig wrote: On Sat, Sep 22, 2007 at 12:22:38PM +0200, Christoph Hellwig wrote:(try number three, maybe it manages to get through the list this time) Currently XFS_IFORK_* and XFS_DFORK* are implemented by means of XFS_CFORK* macros. But given that XFS_IFORK_* operates on an xfs_inode that embedds and xfs_icdinode_core and XFS_DFORK_* operates on an xfs_dinode that embedds a xfs_dinode_core one will have to do endian swapping while the other doesn't. Instead of having the current mess with the CFORK macros that have byteswapping and non-byteswapping version (which are inconsistantly named while we're at it) just define each family of the macros to stand by itself and simplify the whole matter. A few direct references to the CFORK variants were cleaned up to use IFORK or DFORK to make this possible.ping? this is almost two month old now.. I'll have a look... --Tim |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH, RFC] Delayed logging of file sizes, David Chinner |
|---|---|
| Next by Date: | Re: [PATCH, RFC] Delayed logging of file sizes, Lachlan McIlroy |
| Previous by Thread: | Re: [PATCH] cleanup XFS_IFORK_*/XFS_DFORK* macros, Christoph Hellwig |
| Next by Thread: | Re: [PATCH] cleanup XFS_IFORK_*/XFS_DFORK* macros, Timothy Shimmin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |