projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbb4ee8
)
fs: reserve fallocate flag codepoint
author
Theodore Ts'o
<tytso@mit.edu>
Thu, 27 Sep 2012 13:29:33 +0000
(09:29 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Thu, 27 Sep 2012 13:29:33 +0000
(09:29 -0400)
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>
include/linux/falloc.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/falloc.h
b/include/linux/falloc.h
index 73e0b628e058cc28c8ae4eab030ff88f6f523d58..d39b824a780c2b48016e38370e36e039d192e90f 100644
(file)
--- a/
include/linux/falloc.h
+++ b/
include/linux/falloc.h
@@
-3,6
+3,7
@@
#define FALLOC_FL_KEEP_SIZE 0x01 /* default is extend size */
#define FALLOC_FL_PUNCH_HOLE 0x02 /* de-allocates range */
+#define FALLOC_FL_NO_HIDE_STALE 0x04 /* reserved codepoint */
#ifdef __KERNEL__