| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 4/6] linux.h: Use off64_t instead of loff_t |
| From: | Felix Janda <felix.janda@xxxxxxxxx> |
| Date: | Tue, 12 Jan 2016 21:00:01 +0100 |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <cover.1452627740.git.felix.janda@xxxxxxxxx> |
| References: | <cover.1452627740.git.felix.janda@xxxxxxxxx> |
| User-agent: | Mutt/1.5.23 (2014-03-12) |
These are equivalent on glibc, while musl does not know loff_t. In the long run, it would be preferable to enable transparent LFS so that off64_t could be replaced by off_t. Signed-off-by: Felix Janda <felix.janda@xxxxxxxxx> --- include/linux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux.h b/include/linux.h index 827dbe1..4872a1e 100644 --- a/include/linux.h +++ b/include/linux.h @@ -141,7 +141,7 @@ platform_discard_blocks(int fd, uint64_t start, uint64_t len) #define EFSCORRUPTED EUCLEAN /* Filesystem is corrupted */ #define EFSBADCRC EBADMSG /* Bad CRC detected */ -typedef loff_t xfs_off_t; +typedef off64_t xfs_off_t; typedef uint64_t xfs_ino_t; typedef uint32_t xfs_dev_t; typedef int64_t xfs_daddr_t; -- 2.4.10 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 1/6] Move from __uint*_t types to uint*_t and likewise for __int*_t, Felix Janda |
|---|---|
| Next by Date: | [PATCH 5/6] include/linux.h: Include <stdio.h> for fprintf and stderr, Felix Janda |
| Previous by Thread: | [PATCH 1/6] Move from __uint*_t types to uint*_t and likewise for __int*_t, Felix Janda |
| Next by Thread: | Re: [PATCH 4/6] linux.h: Use off64_t instead of loff_t, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |