PERFORCE change 164370 for review

Aditya Sarawgi truncs at FreeBSD.org
Sun Jun 14 19:06:51 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=164370

Change 164370 by truncs at aditya on 2009/06/14 19:06:05

	The acl structures are never used and some cleanup.

Affected files ...

.. //depot/projects/soc2009/soc_ext2fs/src/sys/gnu/fs/ext2fs/ext2_fs.h#22 edit

Differences ...

==== //depot/projects/soc2009/soc_ext2fs/src/sys/gnu/fs/ext2fs/ext2_fs.h#22 (text+ko) ====

@@ -108,13 +108,7 @@
  */
 #define E2FS_MAGIC		0xEF53
 
-#ifdef __KERNEL__
-#include <linux/ext2_fs_sb.h>
-static inline struct ext2_sb_info *EXT2_SB(struct ext2fs *sb)
-{
-	return sb->s_fs_info;
-}
-#elif defined(_KERNEL)
+#if defined(_KERNEL)
 /*
  * FreeBSD passes the pointer to the in-core struct with relevant
  * fields to EXT2_SB macro when accessing superblock fields.
@@ -174,27 +168,6 @@
 # define EXT2_FRAGS_PER_BLOCK(s)	(EXT2_BLOCK_SIZE(s) / EXT2_FRAG_SIZE(s))
 #endif
 
-/*
- * ACL structures
- */
-struct ext2_acl_header	/* Header of Access Control Lists */
-{
-	__u32	aclh_size;
-	__u32	aclh_file_count;
-	__u32	aclh_acle_count;
-	__u32	aclh_first_acle;
-};
-
-struct ext2_acl_entry	/* Access Control List Entry */
-{
-	__u32	acle_size;
-	__u16	acle_perms;	/* Access permissions */
-	__u16	acle_type;	/* Type of entry */
-	__u16	acle_tag;	/* User or group identity */
-	__u16	acle_pad1;
-	__u32	acle_next;	/* Pointer on next entry for the */
-					/* same inode or on next free entry */
-};
 
 /* ext2 file system block group descriptor */
 


More information about the p4-projects mailing list