summaryrefslogtreecommitdiffstats
path: root/include/linux/falloc.h
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2015-03-25 15:12:53 +1100
committerDave Chinner <david@fromorbit.com>2015-03-25 15:12:53 +1100
commita448f8f1b744611fb1867ea811170cca2a9a6588 (patch)
tree288e292c7134d3d04ab1ef77cd7798a08276812c /include/linux/falloc.h
parent2b93681f593577df6fcb9af61947beaace071b74 (diff)
parenta904b1ca5751faf5ece8600e18cd3b674afcca1b (diff)
downloadlinux-a448f8f1b744611fb1867ea811170cca2a9a6588.tar.gz
linux-a448f8f1b744611fb1867ea811170cca2a9a6588.tar.bz2
linux-a448f8f1b744611fb1867ea811170cca2a9a6588.zip
Merge branch 'fallocate-insert-range' into for-next
Diffstat (limited to 'include/linux/falloc.h')
-rw-r--r--include/linux/falloc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/falloc.h b/include/linux/falloc.h
index 31591686ac2d..996111000a8c 100644
--- a/include/linux/falloc.h
+++ b/include/linux/falloc.h
@@ -21,4 +21,10 @@ struct space_resv {
#define FS_IOC_RESVSP _IOW('X', 40, struct space_resv)
#define FS_IOC_RESVSP64 _IOW('X', 42, struct space_resv)
+#define FALLOC_FL_SUPPORTED_MASK (FALLOC_FL_KEEP_SIZE | \
+ FALLOC_FL_PUNCH_HOLE | \
+ FALLOC_FL_COLLAPSE_RANGE | \
+ FALLOC_FL_ZERO_RANGE | \
+ FALLOC_FL_INSERT_RANGE)
+
#endif /* _FALLOC_H_ */