| To: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 05/11] xfsprogs: missing and dummy calls for OS X support |
| From: | Jan Tulak <jtulak@xxxxxxxxxx> |
| Date: | Mon, 24 Aug 2015 14:53:44 +0200 |
| Cc: | xfs-oss <xfs@xxxxxxxxxxx>, "Chinner, Dave" <david@xxxxxxxxxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <20150817193223.GE26222@xxxxxxxxxxxxx> |
| References: | <1439828606-7886-1-git-send-email-jtulak@xxxxxxxxxx> <1439828606-7886-6-git-send-email-jtulak@xxxxxxxxxx> <20150817193223.GE26222@xxxxxxxxxxxxx> |
|
As I got stuck with some C-related things in the changes for much longer than I
anticipated, I'm making just this reply now - patches will came once I get it working. On Mon, Aug 17, 2015 at 9:32 PM, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote: Do you have any idea why MacOS defines a uuid_t, but wants unsigned âuuid_t works too. :-)ââ  > +static inline int nftw64(const char *path, int (*fn)(const char *, const struct stat *ptr, int flag, struct FTW *), int depth, > +#define MREMAP_FIXED 1 Well, if I make io/mmap.c â(â whereÂmremap is usedâ) câ onditional, then I need tomake multiple dummy calls â â or put ifdefs around every call from this file. So instead of a singâWell, if I make io/mmap.c, where mremap is used, conditional, then I need to make multiple dummy calls or put ifdefs around every call from that file. So instead of a single dummy call and two defines, I ends with more changes...â IOW, I don't see any file I could remove from xfs_io without bigger changes. Â
âNow, this is what stopped me. As far as I can tell, simple #define statvfs64 statfs do the job, as Mac has the struct and the call. But statfs on Mac is missing f_frsize and related members. I tried to make something with it, but I run out of ideas others than redefine the struct...  âI still don't like the idea of removing fsr from OSX build, but if the amount of dummies is too big, it may end that way... :-(â âCheers, Janâ |
| Previous by Date: | Re: [PATCH] xfs: fix non-debug build warnings, Brian Foster |
|---|---|
| Next by Date: | [PATCH V2] xfsprogs: Minor fixes for xfs.5, Eric Sandeen |
| Previous by Thread: | Re: [PATCH 05/11] xfsprogs: missing and dummy calls for OS X support, Dave Chinner |
| Next by Thread: | Re: [PATCH 05/11] xfsprogs: missing and dummy calls for OS X support, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |