diff options
author | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2013-01-18 17:11:00 +0000 |
---|---|---|
committer | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2013-01-18 17:11:00 +0000 |
commit | fa4604e04e973ca3abd6aeaeec07bbf0fc38d9af (patch) | |
tree | cb548633e3b698c18fe6339137307cbf28dd0d82 /libc/sysdeps/unix/sysv/linux/bits/fcntl-linux.h | |
parent | 00ed3326c2fac75592e173e9d731452e9bb769ff (diff) | |
download | eglibc2-fa4604e04e973ca3abd6aeaeec07bbf0fc38d9af.tar.gz |
Merge changes between r22176 and r22241 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@22242 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/sysdeps/unix/sysv/linux/bits/fcntl-linux.h')
-rw-r--r-- | libc/sysdeps/unix/sysv/linux/bits/fcntl-linux.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/sysdeps/unix/sysv/linux/bits/fcntl-linux.h b/libc/sysdeps/unix/sysv/linux/bits/fcntl-linux.h index a8bb09075..b5929bd29 100644 --- a/libc/sysdeps/unix/sysv/linux/bits/fcntl-linux.h +++ b/libc/sysdeps/unix/sysv/linux/bits/fcntl-linux.h @@ -296,6 +296,13 @@ struct f_owner_ex # define SPLICE_F_GIFT 8 /* Pages passed in are a gift. */ +/* Flags for fallocate. */ +# define FALLOC_FL_KEEP_SIZE 1 /* Don't extend size of file + even if offset + len is + greater than file size. */ +# define FALLOC_FL_PUNCH_HOLE 2 /* Create a hole in the file. */ + + /* File handle structure. */ struct file_handle { |