f2fs-tools: bump to version 1.4.1
PATCH v2 1/1 f2fs-tools: bump to version 1.4.1
And drop the old patches, they're upstream.
Signed-off-by Gustavo Zacarias <[email protected]>
--- .../0001-configure-add-check-for-fallocate.patch | 46 +++++++++++ ...tools-fix-for-build-big-endian-processors.patch | 95 ---------------------- ...sible-endianes-bug-in-mkfs.f2fs-roll-forw.patch | 81 ------------------ ...3-mkfs.f2fs-fix-missing-endian-conversion.patch | 42 ---------- .../0004-configure-also-check-for-byteswap.h.patch | 35 -------- .../0005-configure-add-check-for-bswap_64.patch | 50 ------------ package/f2fs-tools/f2fs-tools.mk | 2 +- 7 files changed, 47 insertions(+), 304 deletions(-) create mode 100644 package/f2fs-tools/0001-configure-add-check-for-fallocate.patch delete mode 100644 package/f2fs-tools/0001-f2fs-tools-fix-for-build-big-endian-processors.patch delete mode 100644 package/f2fs-tools/0002-mkfs.f2fs-possible-endianes-bug-in-mkfs.f2fs-roll-forw.patch delete mode 100644 package/f2fs-tools/0003-mkfs.f2fs-fix-missing-endian-conversion.patch delete mode 100644 package/f2fs-tools/0004-configure-also-check-for-byteswap.h.patch delete mode 100644 package/f2fs-tools/0005-configure-add-check-for-bswap_64.patch
package/f2fs-tools/0001-configure-add-check-for-fallocate.patch new file +46 -0
@@ -0,0 +1,46 @@ +From 265d97d02e8ef373653c76a339869985eb3ba27a Mon Sep 17 00:00:00 2001 +From: Gustavo Zacarias <[email protected]> +Date: Tue, 10 Mar 2015 15:10:35 -0300 +Subject: [PATCH] configure: add check for fallocate + +We need to check for fallocate() rather than just linux/falloc.h + +FALLOC_FL_PUNCH_HOLE since in uClibc we've got both but still not +fallocate() itself since it's only implemented in newer unreleased +versions. + +Status: sent upstream. + +Signed-off-by: Gustavo Zacarias <[email protected]> +--- + configure.ac | 1 + + mkfs/f2fs_format_utils.c | 2 +- + 2 files changed, 2 insertions(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index ae451b8..900b84a 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -68,6 +68,7 @@ AC_TYPE_SIZE_T + # Checks for library functions. + AC_FUNC_GETMNTENT + AC_CHECK_FUNCS_ONCE([ ++ fallocate + getmntent + memset + ]) +diff --git a/mkfs/f2fs_format_utils.c b/mkfs/f2fs_format_utils.c +index a0f85f5..ddeafeb 100644 +--- a/mkfs/f2fs_format_utils.c ++++ b/mkfs/f2fs_format_utils.c +@@ -46,7 +46,7 @@ int f2fs_trim_device() + #if defined(WITH_BLKDISCARD) && defined(BLKDISCARD) + MSG(0, "Info: Discarding device\n"); + if (S_ISREG(stat_buf.st_mode)) { +-#ifdef FALLOC_FL_PUNCH_HOLE ++#if defined(HAVE_FALLOCATE) && defined(FALLOC_FL_PUNCH_HOLE) + if (fallocate(config.fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, + range[0], range[1]) < 0) { + MSG(0, "Info: fallocate(PUNCH_HOLE|KEEP_SIZE) is failed\n"); +-- +2.0.5 +
package/f2fs-tools/0001-f2fs-tools-fix-for-build-big-endian-processors.patch deleted +0 -95
95 lines not on this page · raw message
package/f2fs-tools/0002-mkfs.f2fs-possible-endianes-bug-in-mkfs.f2fs-roll-forw.patch deleted +0 -81
81 lines not on this page · raw message
package/f2fs-tools/0003-mkfs.f2fs-fix-missing-endian-conversion.patch deleted +0 -42
42 lines not on this page · raw message
package/f2fs-tools/0004-configure-also-check-for-byteswap.h.patch deleted +0 -35
@@ -1,35 +0,0 @@ -From 7b9da72b1779cbc7b6c092523877860ef9315a36 Mon Sep 17 00:00:00 2001 -From: "Yann E. MORIN" <[email protected]> -Date: Thu, 25 Dec 2014 18:39:19 +0100 -Subject: [PATCH] configure: also check for byteswap.h - -include/f2fs_fs.h checks the HAVE_BYTESWAP_H conditional, but it is -never checked for in configure. - -Add that header to the list of headers checked for. - -Signed-off-by: "Yann E. MORIN" <[email protected]> -Cc: Gustavo Zacarias <[email protected]> ---- -Note: not exactly the same as submitted upstreram, because they already -check for more headers. ---- - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index d66cb73..7cfd9b4 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -57,7 +57,7 @@ PKG_CHECK_MODULES([libuuid], [uuid]) - - # Checks for header files. - AC_CHECK_HEADERS([linux/fs.h fcntl.h mntent.h stdlib.h string.h \ -- sys/ioctl.h sys/mount.h unistd.h]) -+ sys/ioctl.h sys/mount.h unistd.h byteswap.h]) - - # Checks for typedefs, structures, and compiler characteristics. - AC_C_INLINE --- -1.9.1 -
package/f2fs-tools/0005-configure-add-check-for-bswap_64.patch deleted +0 -50
50 lines not on this page · raw message
package/f2fs-tools/f2fs-tools.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -F2FS_TOOLS_VERSION = baac4b4e6f41ceb02511da49dd3707674f3fea21 +F2FS_TOOLS_VERSION = fd32210229d4ad7d1c916c74a0dfc150aae4c89e F2FS_TOOLS_SITE = http://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git F2FS_TOOLS_SITE_METHOD = git F2FS_TOOLS_CONF_ENV = ac_cv_file__git=no
Signature · 1 line
2.0.5
PATCH v2 1/1 f2fs-tools: bump to version 1.4.1
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
And drop the old patches, they're upstream.
Signed-off-by Gustavo Zacarias <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard