Skip to content

Commit

Permalink
fs: reserve fallocate flag codepoint
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Theodore Ts'o committed Sep 27, 2012
1 parent cbb4ee8 commit bbdd680
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/falloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__

Expand Down

0 comments on commit bbdd680

Please sign in to comment.