mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2024-11-23 10:10:00 +00:00
851e19eb16
commit 717d70db60
category: bugfix
issue: #I6VAS0
CVE: NA
Signed-off-by: DongSenhao <dongsenhao2@huawei.com>
---------------------------------------
Currently we support fiemap command using fibmap. It's simple and
easy to use, but we cannot use this for compressed file. To support
more different types of files, we need to change this to use fiemap.
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
[Jaegeuk Kim: add Android build]
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: dongsenhao <dongsenhao2@huawei.com>
67 lines
1.4 KiB
C
67 lines
1.4 KiB
C
#if defined(__linux__)
|
|
#define HAVE_BYTESWAP_H 1
|
|
#define HAVE_FCNTL_H 1
|
|
#define HAVE_FALLOC_H 1
|
|
#define HAVE_LINUX_HDREG_H 1
|
|
#define HAVE_LINUX_LIMITS_H 1
|
|
#define HAVE_POSIX_ACL_H 1
|
|
#define HAVE_LINUX_TYPES_H 1
|
|
#define HAVE_LINUX_XATTR_H 1
|
|
#define HAVE_LINUX_FS_H 1
|
|
#define HAVE_LINUX_FIEMAP_H 1
|
|
#define HAVE_MNTENT_H 1
|
|
#define HAVE_STDLIB_H 1
|
|
#define HAVE_STRING_H 1
|
|
#define HAVE_SYS_IOCTL_H 1
|
|
#define HAVE_SYS_SYSCALL_H 1
|
|
#define HAVE_SYS_MOUNT_H 1
|
|
#define HAVE_SYS_UTSNAME_H 1
|
|
#define HAVE_SYS_SYSMACROS_H 1
|
|
#define HAVE_SYS_XATTR_H 1
|
|
#define HAVE_UNISTD_H 1
|
|
|
|
#define HAVE_FALLOCATE 1
|
|
#define HAVE_FSETXATTR 1
|
|
#define HAVE_FSTAT 1
|
|
#define HAVE_FSTAT64 1
|
|
#define HAVE_GETMNTENT 1
|
|
#define HAVE_LLSEEK 1
|
|
#define HAVE_LSEEK64 1
|
|
#define HAVE_MEMSET 1
|
|
#define HAVE_SETMNTENT 1
|
|
|
|
#ifdef WITH_SLOAD
|
|
#define HAVE_LIBSELINUX 1
|
|
#endif
|
|
#endif
|
|
|
|
#if defined(__APPLE__)
|
|
#define HAVE_FCNTL_H 1
|
|
#define HAVE_FALLOC_H 1
|
|
#define HAVE_POSIX_ACL_H 1
|
|
#define HAVE_STDLIB_H 1
|
|
#define HAVE_STRING_H 1
|
|
#define HAVE_SYS_IOCTL_H 1
|
|
#define HAVE_SYS_SYSCALL_H 1
|
|
#define HAVE_SYS_MOUNT_H 1
|
|
#define HAVE_SYS_UTSNAME_H 1
|
|
#define HAVE_SYS_XATTR_H 1
|
|
#define HAVE_UNISTD_H 1
|
|
|
|
#define HAVE_FALLOCATE 1
|
|
#define HAVE_FSETXATTR 1
|
|
#define HAVE_FSTAT 1
|
|
#define HAVE_FSTAT64 1
|
|
#define HAVE_GETMNTENT 1
|
|
#define HAVE_LLSEEK 1
|
|
#define HAVE_MEMSET 1
|
|
|
|
#ifdef WITH_SLOAD
|
|
#define HAVE_LIBSELINUX 1
|
|
#endif
|
|
#endif
|
|
|
|
#if defined(_WIN32)
|
|
#define HAVE_LSEEK64
|
|
#endif
|