diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2012-01-26 13:51:29 -0300 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-01-26 22:24:11 +0100 |
commit | f8a117435a184e77102fdb64f1698d35d519a6f6 (patch) | |
tree | ad0cde8973f33fc130d14980a156fc89ecfe641f /package/e2fsprogs/e2fsprogs-fallocate.patch | |
parent | e4280ff8f05735be43bb2a624d33e9e8deba3164 (diff) | |
download | buildroot-novena-f8a117435a184e77102fdb64f1698d35d519a6f6.tar.gz buildroot-novena-f8a117435a184e77102fdb64f1698d35d519a6f6.zip |
e2fsprogs: bump to version 1.42
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/e2fsprogs/e2fsprogs-fallocate.patch')
-rw-r--r-- | package/e2fsprogs/e2fsprogs-fallocate.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/e2fsprogs/e2fsprogs-fallocate.patch b/package/e2fsprogs/e2fsprogs-fallocate.patch new file mode 100644 index 000000000..4d952a5df --- /dev/null +++ b/package/e2fsprogs/e2fsprogs-fallocate.patch @@ -0,0 +1,22 @@ +We assume that fallocate is supported somehow +but we need to check if we have fallocate() +this problem shows up on uclibc systems since +uclibc does not have fallocate() implemented + +Signed-off-by: Khem Raj <raj.khem@gmail.com> + +Upstream-Status: Pending + +Index: e2fsprogs-1.42/lib/ext2fs/unix_io.c +=================================================================== +--- e2fsprogs-1.42.orig/lib/ext2fs/unix_io.c 2012-01-17 17:24:34.290780625 -0800 ++++ e2fsprogs-1.42/lib/ext2fs/unix_io.c 2012-01-17 17:25:37.338783680 -0800 +@@ -895,7 +895,7 @@ + goto unimplemented; + #endif + } else { +-#ifdef FALLOC_FL_PUNCH_HOLE ++#if defined FALLOC_FL_PUNCH_HOLE && defined HAVE_FALLOCATE + /* + * If we are not on block device, try to use punch hole + * to reclaim free space. |