aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-04-25 13:20:27 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-04-25 13:20:27 -0400
commit4bcf7091f9da595016f9d1175aa1bea8e736566f (patch)
treee1ebe2ac39eff1d73b4f974174e3a61682107a10 /include/linux
parentb5ea3e1ef307548bdd40fff6aba5fc96b002f284 (diff)
[GFS2] Remove inherited flags from exported flags.
We don't need the inherited flags since this action can be implied by setting the flags on directories where they wouldn't otherwise make sense. It reduces the number of extra flags by two. Also updated the list of flags to take account of one extra ext2/3 flag. Cc: Andreas Dilger <adilger@clusterfs.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/iflags.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/linux/iflags.h b/include/linux/iflags.h
index 1b4d9ef5d62b..5b27102dfeaf 100644
--- a/include/linux/iflags.h
+++ b/include/linux/iflags.h
@@ -46,9 +46,8 @@ enum {
46 iflag_NoTail = 15, /* file tail should not be merged */ 46 iflag_NoTail = 15, /* file tail should not be merged */
47 iflag_DirSync = 16, /* dirsync behaviour */ 47 iflag_DirSync = 16, /* dirsync behaviour */
48 iflag_TopDir = 17, /* Top of directory hierarchies */ 48 iflag_TopDir = 17, /* Top of directory hierarchies */
49 iflag_DirectIO = 18, /* Always use direct I/O on this file */ 49 iflag_Extent = 19, /* Extents */
50 iflag_InheritDirectIO = 19, /* Set DirectIO on new files in dir */ 50 iflag_DirectIO = 20, /* Always use direct I/O on this file */
51 iflag_InheritJdata = 20, /* Set JournalData on create in dir */
52 iflag_Reserved = 31 /* reserved for ext2/3 lib */ 51 iflag_Reserved = 31 /* reserved for ext2/3 lib */
53}; 52};
54 53
@@ -72,9 +71,8 @@ enum {
72#define IFLAG_NOTAIL __IFL(NoTail) /* 0x00008000 */ 71#define IFLAG_NOTAIL __IFL(NoTail) /* 0x00008000 */
73#define IFLAG_DIRSYNC __IFL(DirSync) /* 0x00010000 */ 72#define IFLAG_DIRSYNC __IFL(DirSync) /* 0x00010000 */
74#define IFLAG_TOPDIR __IFL(TopDir) /* 0x00020000 */ 73#define IFLAG_TOPDIR __IFL(TopDir) /* 0x00020000 */
75#define IFLAG_DIRECTIO __IFL(DirectIO) /* 0x00040000 */ 74#define IFLAG_EXTENT __IFL(Extent) /* 0x00080000 */
76#define IFLAG_INHERITDIRECTIO __IFL(InheritDirectIO) /* 0x00080000 */ 75#define IFLAG_DIRECTIO __IFL(DirectIO) /* 0x00100000 */
77#define IFLAG_INHERITJDATA __IFL(InheritJdata) /* 0x00100000 */
78#define IFLAG_RESERVED __IFL(Reserved) /* 0x80000000 */ 76#define IFLAG_RESERVED __IFL(Reserved) /* 0x80000000 */
79 77
80#ifdef __KERNEL__ 78#ifdef __KERNEL__