aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/gfs2_ondisk.h
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-03-31 15:01:28 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2006-03-31 15:01:28 -0500
commit7ea9ea832212c4a755650f7c7cc1ff0b63292a41 (patch)
tree86ccc012c7b841de6391e7408bf3f3097ca2710d /include/linux/gfs2_ondisk.h
parente3167ded1f1b16424bc14d5673cdc5414f179970 (diff)
[GFS2] Update ioctl() to new interface
This is designed as a fs independent way to set flags on a particular inode. The values of the ioctl() and flags are designed to be identical to the ext2/3 values. Assuming that this plan is acceptable to people in general, the plan is to then move other fs across to using the same set of #defines, etc. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'include/linux/gfs2_ondisk.h')
-rw-r--r--include/linux/gfs2_ondisk.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/gfs2_ondisk.h b/include/linux/gfs2_ondisk.h
index a5fb4f99aa45..3ab40917383f 100644
--- a/include/linux/gfs2_ondisk.h
+++ b/include/linux/gfs2_ondisk.h
@@ -197,6 +197,22 @@ struct gfs2_quota {
197#define DT2IF(dt) (((dt) << 12) & S_IFMT) 197#define DT2IF(dt) (((dt) << 12) & S_IFMT)
198#define IF2DT(sif) (((sif) & S_IFMT) >> 12) 198#define IF2DT(sif) (((sif) & S_IFMT) >> 12)
199 199
200enum {
201 gfs2fl_Jdata = 0,
202 gfs2fl_ExHash = 1,
203 gfs2fl_Unused = 2,
204 gfs2fl_EaIndirect = 3,
205 gfs2fl_Directio = 4,
206 gfs2fl_Immutable = 5,
207 gfs2fl_AppendOnly = 6,
208 gfs2fl_NoAtime = 7,
209 gfs2fl_Sync = 8,
210 gfs2fl_System = 9,
211 gfs2fl_TruncInProg = 29,
212 gfs2fl_InheritDirectio = 30,
213 gfs2fl_InheritJdata = 31,
214};
215
200/* Dinode flags */ 216/* Dinode flags */
201#define GFS2_DIF_JDATA 0x00000001 217#define GFS2_DIF_JDATA 0x00000001
202#define GFS2_DIF_EXHASH 0x00000002 218#define GFS2_DIF_EXHASH 0x00000002