cluster/gfs/gfs_fsck ondisk.h
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.
gfs/gfs_fsck/ondisk.h +2 -1
@@ -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 */