| To: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 6/6] Add configure check for members of dirent for use in io/readdir.c |
| From: | Felix Janda <felix.janda@xxxxxxxxx> |
| Date: | Wed, 13 Jan 2016 18:09:38 +0100 |
| Cc: | xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <20160113075855.GG21939@xxxxxxxxxxxxx> |
| References: | <cover.1452627740.git.felix.janda@xxxxxxxxx> <20160112200022.GG568@nyan> <20160113075855.GG21939@xxxxxxxxxxxxx> |
| User-agent: | Mutt/1.5.23 (2014-03-12) |
Christoph Hellwig wrote: > I think we're having a deeper issue here. For an LFS build we > absolutely should have these values as the kernel dirent64 has them. > > Either we manage to not pull in the LFS version of readdir/getdents > or musl is doing something inredibly stupid. Can you investigate if > and why we're not using the LFS getdents64 here? With musl you always have LFS. However still musl does not define the _DIRENT_HAVE_*. You can see the full dirent.h at: http://git.musl-libc.org/cgit/musl/tree/include/dirent.h I will ask on the musl list whether these constants can be added. So you can disregard this patch. However notice that these constants are not defined when not on linux or with glibc, e.g. freebsd (without k). On these systems the code in io/readdir.c just happens to have worked because either dirent.d_namelen exists or nobody has tested it on these systems. Felix |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] xfs: always invalidate buffer in xfs_refcountbt_free_block, Christoph Hellwig |
|---|---|
| Next by Date: | Re: [PATCH 2/6] libxfs/linux.c: Replace use of ustat by stat, Felix Janda |
| Previous by Thread: | Re: [PATCH 6/6] Add configure check for members of dirent for use in io/readdir.c, Christoph Hellwig |
| Next by Thread: | Re: [PATCH 6/6] Add configure check for members of dirent for use in io/readdir.c, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |