summaryrefslogtreecommitdiffstats
path: root/include
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
parentb5ea3e1ef307548bdd40fff6aba5fc96b002f284 (diff)
downloadop-kernel-dev-4bcf7091f9da595016f9d1175aa1bea8e736566f.zip
op-kernel-dev-4bcf7091f9da595016f9d1175aa1bea8e736566f.tar.gz
[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')
-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 1b4d9ef..5b27102 100644
--- a/include/linux/iflags.h
+++ b/include/linux/iflags.h
@@ -46,9 +46,8 @@ enum {
iflag_NoTail = 15, /* file tail should not be merged */
iflag_DirSync = 16, /* dirsync behaviour */
iflag_TopDir = 17, /* Top of directory hierarchies */
- iflag_DirectIO = 18, /* Always use direct I/O on this file */
- iflag_InheritDirectIO = 19, /* Set DirectIO on new files in dir */
- iflag_InheritJdata = 20, /* Set JournalData on create in dir */
+ iflag_Extent = 19, /* Extents */
+ iflag_DirectIO = 20, /* Always use direct I/O on this file */
iflag_Reserved = 31 /* reserved for ext2/3 lib */
};
@@ -72,9 +71,8 @@ enum {
#define IFLAG_NOTAIL __IFL(NoTail) /* 0x00008000 */
#define IFLAG_DIRSYNC __IFL(DirSync) /* 0x00010000 */
#define IFLAG_TOPDIR __IFL(TopDir) /* 0x00020000 */
-#define IFLAG_DIRECTIO __IFL(DirectIO) /* 0x00040000 */
-#define IFLAG_INHERITDIRECTIO __IFL(InheritDirectIO) /* 0x00080000 */
-#define IFLAG_INHERITJDATA __IFL(InheritJdata) /* 0x00100000 */
+#define IFLAG_EXTENT __IFL(Extent) /* 0x00080000 */
+#define IFLAG_DIRECTIO __IFL(DirectIO) /* 0x00100000 */
#define IFLAG_RESERVED __IFL(Reserved) /* 0x80000000 */
#ifdef __KERNEL__
OpenPOWER on IntegriCloud