This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Define FALLOC_FL_INSERT_RANGE, FALLOC_FL_UNSHARE_RANGE in bits/fcntl-linux.h
- From: Florian Weimer <fweimer at redhat dot com>
- To: Joseph Myers <joseph at codesourcery dot com>, libc-alpha at sourceware dot org
- Date: Wed, 14 Dec 2016 09:35:20 +0100
- Subject: Re: Define FALLOC_FL_INSERT_RANGE, FALLOC_FL_UNSHARE_RANGE in bits/fcntl-linux.h
- Authentication-results: sourceware.org; auth=none
- References: <alpine.DEB.2.20.1612132358351.20484@digraph.polyomino.org.uk>
On 12/14/2016 12:59 AM, Joseph Myers wrote:
This patch adds the flags FALLOC_FL_INSERT_RANGE and
FALLOC_FL_UNSHARE_RANGE to bits/fcntl-linux.h.
FALLOC_FL_UNSHARE_RANGE is new in Linux 4.9; FALLOC_FL_INSERT_RANGE
was added in 4.1, but I missed it at that time.
Can we just in clude <linux/falloc.h> for _GNU_SOURCE instead?
Thanks,
Florian