From: Theodore Ts'o Date: Thu, 27 Sep 2012 13:29:33 +0000 (-0400) Subject: fs: reserve fallocate flag codepoint X-Git-Tag: upstream/snapshot3+hdmi~6363^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bbdd68086ca4a8976226e23efd08e2058d34dd81;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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" --- diff --git a/include/linux/falloc.h b/include/linux/falloc.h index 73e0b62..d39b824 100644 --- 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__