From owner-p4-projects@FreeBSD.ORG Sun Jun 14 19:06:50 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 5ADAE1065675; Sun, 14 Jun 2009 19:06:50 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13FD4106567A for ; Sun, 14 Jun 2009 19:06:50 +0000 (UTC) (envelope-from truncs@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id EFF488FC2A for ; Sun, 14 Jun 2009 19:06:49 +0000 (UTC) (envelope-from truncs@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n5EJ6npj063123 for ; Sun, 14 Jun 2009 19:06:49 GMT (envelope-from truncs@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n5EJ6nLM063121 for perforce@freebsd.org; Sun, 14 Jun 2009 19:06:49 GMT (envelope-from truncs@FreeBSD.org) Date: Sun, 14 Jun 2009 19:06:49 GMT Message-Id: <200906141906.n5EJ6nLM063121@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to truncs@FreeBSD.org using -f From: Aditya Sarawgi To: Perforce Change Reviews Cc: Subject: PERFORCE change 164370 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2009 19:06:51 -0000 http://perforce.freebsd.org/chv.cgi?CH=164370 Change 164370 by truncs@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 -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 */