aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2012-09-27 09:29:33 -0400
committerTheodore Ts'o <tytso@mit.edu>2012-09-27 09:29:33 -0400
commitbbdd68086ca4a8976226e23efd08e2058d34dd81 (patch)
treef45c2127c20ac3f61bceab999169c60d23b78cd9
parentcbb4ee830e0057f8d60b4e0a8c4b6daa6cdd28d7 (diff)
fs: reserve fallocate flag codepoint
As discussed at the Plumber's Conference, reserve the bit 0x04 in fallocate() to prevent collisions with a commonly used out-of-tree patch which implements the no-hide-stale feature. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
-rw-r--r--include/linux/falloc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/falloc.h b/include/linux/falloc.h
index 73e0b628e058..d39b824a780c 100644
--- a/include/linux/falloc.h
+++ b/include/linux/falloc.h
@@ -3,6 +3,7 @@
3 3
4#define FALLOC_FL_KEEP_SIZE 0x01 /* default is extend size */ 4#define FALLOC_FL_KEEP_SIZE 0x01 /* default is extend size */
5#define FALLOC_FL_PUNCH_HOLE 0x02 /* de-allocates range */ 5#define FALLOC_FL_PUNCH_HOLE 0x02 /* de-allocates range */
6#define FALLOC_FL_NO_HIDE_STALE 0x04 /* reserved codepoint */
6 7
7#ifdef __KERNEL__ 8#ifdef __KERNEL__
8 9