[Cluster-devel] cluster/gfs/gfs_fsck ondisk.h

rohara at sourceware.org rohara at sourceware.org
Mon Oct 2 21:38:28 UTC 2006


CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	rohara at sourceware.org	2006-10-02 21:38:28

Modified files:
	gfs/gfs_fsck   : ondisk.h 

Log message:
	Add GFS_EATYPE_SECURITY as valid xattr type and increment GFS_EATYPE_LAST.
	Without this gfs_fsck will complain (and remove) SELinux xattrs.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs/gfs_fsck/ondisk.h.diff?cvsroot=cluster&r1=1.3&r2=1.4

--- cluster/gfs/gfs_fsck/ondisk.h	2005/03/03 20:23:47	1.3
+++ cluster/gfs/gfs_fsck/ondisk.h	2006/10/02 21:38:28	1.4
@@ -600,8 +600,9 @@
 #define GFS_EATYPE_UNUSED       (0)
 #define GFS_EATYPE_USR          (1)     /* user attribute */
 #define GFS_EATYPE_SYS          (2)     /* system attribute */
+#define GFS_EATYPE_SECURITY	(3)	/* security attribute */
 
-#define GFS_EATYPE_LAST         (2)
+#define GFS_EATYPE_LAST         (3)
 #define GFS_EATYPE_VALID(x)     ((x) <= GFS_EATYPE_LAST)
 
 #define GFS_EAFLAG_LAST         (0x01)	/* last ea in block */




More information about the Cluster-devel mailing list