aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/falloc.h
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2013-01-17 16:15:55 -0500
committerJonathan Herman <hermanjl@cs.unc.edu>2013-01-17 16:15:55 -0500
commit8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch)
treea8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /include/linux/falloc.h
parent406089d01562f1e2bf9f089fd7637009ebaad589 (diff)
Patched in Tegra support.
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_ */