[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	rohara sourceware org	2006-11-16 20:21:10

Modified files:
	gfs/gfs_fsck   : ondisk.h 

Log message:
	Now that SELinux xattr support is in gfs-kernel, fsck needs to handle them.
	
	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&only_with_tag=RHEL4&r1=1.1.2.3&r2=1.1.2.4

--- cluster/gfs/gfs_fsck/ondisk.h	2005/03/03 20:24:41	1.1.2.3
+++ cluster/gfs/gfs_fsck/ondisk.h	2006/11/16 20:21:10	1.1.2.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 */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]