[PATCH 04/11] xlat: Add values for falloc_flags constants

Eugene Syromyatnikov evgsyr at gmail.com
Wed Sep 21 21:21:07 UTC 2016


In order to avoid dependence of declared constants to headers available
on build system.

* xlat/falloc_flags.in: Add values for constants.
---
 xlat/falloc_flags.in |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/xlat/falloc_flags.in b/xlat/falloc_flags.in
index 936e960..9d8ecf2 100644
--- a/xlat/falloc_flags.in
+++ b/xlat/falloc_flags.in
@@ -1,6 +1,6 @@
-FALLOC_FL_KEEP_SIZE
-FALLOC_FL_PUNCH_HOLE
-FALLOC_FL_NO_HIDE_STALE
-FALLOC_FL_COLLAPSE_RANGE
-FALLOC_FL_ZERO_RANGE
-FALLOC_FL_INSERT_RANGE
+FALLOC_FL_KEEP_SIZE      0x01
+FALLOC_FL_PUNCH_HOLE     0x02
+FALLOC_FL_NO_HIDE_STALE  0x04
+FALLOC_FL_COLLAPSE_RANGE 0x08
+FALLOC_FL_ZERO_RANGE     0x10
+FALLOC_FL_INSERT_RANGE   0x20
-- 
1.7.10.4





More information about the Strace-devel mailing list