summaryrefslogtreecommitdiffstats
path: root/include/linux/gfs2_ondisk.h
diff options
context:
space:
mode:
authorRyan O'Hara <rohara@redhat.com>2006-05-22 10:08:35 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-05-22 10:08:35 -0400
commit639b6d79b8c20cce4079fb035640c65456324d1c (patch)
treeef3cf33f8b7f3d943ced0e461e1987cd34fc8c42 /include/linux/gfs2_ondisk.h
parentd2f222e6310b073ae3d91b8d3d676621fae1314e (diff)
downloadlinux-639b6d79b8c20cce4079fb035640c65456324d1c.tar.gz
linux-639b6d79b8c20cce4079fb035640c65456324d1c.tar.bz2
linux-639b6d79b8c20cce4079fb035640c65456324d1c.zip
[GFS2] selinux support
This adds support to GFS2 for selinux extended attributes. There is a known bug in gfs2_ea_get() which is believed to be independant of this patch. Further patches will follow once that bug is fixed in order to make GFS2 use as much of the generic eattr infrastructure as possible. Signed-off-by: Ryan O'Hara <rohara@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'include/linux/gfs2_ondisk.h')
-rw-r--r--include/linux/gfs2_ondisk.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/gfs2_ondisk.h b/include/linux/gfs2_ondisk.h
index 4356e3864643..3893aac4e3ae 100644
--- a/include/linux/gfs2_ondisk.h
+++ b/include/linux/gfs2_ondisk.h
@@ -311,8 +311,9 @@ struct gfs2_leaf {
#define GFS2_EATYPE_UNUSED 0
#define GFS2_EATYPE_USR 1
#define GFS2_EATYPE_SYS 2
+#define GFS2_EATYPE_SECURITY 3
-#define GFS2_EATYPE_LAST 2
+#define GFS2_EATYPE_LAST 3
#define GFS2_EATYPE_VALID(x) ((x) <= GFS2_EATYPE_LAST)
#define GFS2_EAFLAG_LAST 0x01 /* last ea in block */