Implement decoding of fallocate FALLOC_FL_* flags
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 11 Dec 2014 19:21:54 +0000 (19:21 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 11 Dec 2014 21:40:23 +0000 (21:40 +0000)
commit52572b6fdd88a9a9349581c03625126dd7de80b0
tree0fbc3763dc7452c8e27c91509a1b813b63af2e38
parent19b50da1017819eb076ac2f5104c9bb317031b82
Implement decoding of fallocate FALLOC_FL_* flags

* xlat/falloc_flags.in: New file.
* configure.ac (AC_CHECK_HEADERS): Add linux/falloc.h.
* fallocate.c [HAVE_LINUX_FALLOC_H]: Include <linux/falloc.h>.
Include xlat/falloc_flags.h.
(sys_fallocate): Decode flags.
configure.ac
fallocate.c
xlat/falloc_flags.in [new file with mode: 0644]