From mboxrd@z Thu Jan 1 00:00:00 1970 From: rohara@sourceware.org Date: 16 Nov 2006 20:21:10 -0000 Subject: [Cluster-devel] cluster/gfs/gfs_fsck ondisk.h Message-ID: <20061116202110.30706.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: cluster Branch: RHEL4 Changes by: rohara at 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 */