aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/falloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/falloc.h')
-rw-r--r--include/linux/falloc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/falloc.h b/include/linux/falloc.h
index 31591686ac2..73e0b628e05 100644
--- a/include/linux/falloc.h
+++ b/include/linux/falloc.h
@@ -1,8 +1,10 @@
1#ifndef _FALLOC_H_ 1#ifndef _FALLOC_H_
2#define _FALLOC_H_ 2#define _FALLOC_H_
3 3
4#include <uapi/linux/falloc.h> 4#define FALLOC_FL_KEEP_SIZE 0x01 /* default is extend size */
5#define FALLOC_FL_PUNCH_HOLE 0x02 /* de-allocates range */
5 6
7#ifdef __KERNEL__
6 8
7/* 9/*
8 * Space reservation ioctls and argument structure 10 * Space reservation ioctls and argument structure
@@ -21,4 +23,6 @@ struct space_resv {
21#define FS_IOC_RESVSP _IOW('X', 40, struct space_resv) 23#define FS_IOC_RESVSP _IOW('X', 40, struct space_resv)
22#define FS_IOC_RESVSP64 _IOW('X', 42, struct space_resv) 24#define FS_IOC_RESVSP64 _IOW('X', 42, struct space_resv)
23 25
26#endif /* __KERNEL__ */
27
24#endif /* _FALLOC_H_ */ 28#endif /* _FALLOC_H_ */