summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-12-14 18:23:15 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-12-14 18:23:15 +0000
commit257dabc059447934a90be6fce4b5d2a5f4b63dfd (patch)
tree9089d7d05817b7062a52fd89d6bc4e8b5e45f290 /ChangeLog
parente96a3ca70319aa7cd6bef7c4c67007264ce4d972 (diff)
downloadglibc-257dabc059447934a90be6fce4b5d2a5f4b63dfd.tar.gz
glibc-257dabc059447934a90be6fce4b5d2a5f4b63dfd.tar.xz
glibc-257dabc059447934a90be6fce4b5d2a5f4b63dfd.zip
Include <linux/falloc.h> in bits/fcntl-linux.h.
This patch makes bits/fcntl-linux.h include <linux/falloc.h> to define
the FALLOC_* flags under __USE_GNU (linux/falloc.h defines only those
bits, nothing else).

Tested for x86_64 and x86.

	* sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
	<linux/falloc.h>.
	(FALLOC_FL_KEEP_SIZE): Remove.
	(FALLOC_FL_PUNCH_HOLE): Likewise.
	(FALLOC_FL_COLLAPSE_RANGE): Likewise.
	(FALLOC_FL_ZERO_RANGE): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c7b055d217..32ce9af459 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2016-12-14  Joseph Myers  <joseph@codesourcery.com>
+
+	* sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
+	<linux/falloc.h>.
+	(FALLOC_FL_KEEP_SIZE): Remove.
+	(FALLOC_FL_PUNCH_HOLE): Likewise.
+	(FALLOC_FL_COLLAPSE_RANGE): Likewise.
+	(FALLOC_FL_ZERO_RANGE): Likewise.
+
 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
 
 	* stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.