From owner-svn-src-head@FreeBSD.ORG Tue Nov 18 23:13:40 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A24C31065673; Tue, 18 Nov 2008 23:13:40 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8D9118FC17; Tue, 18 Nov 2008 23:13:40 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mAINDeU1095525; Tue, 18 Nov 2008 23:13:40 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mAINDeKJ095522; Tue, 18 Nov 2008 23:13:40 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <200811182313.mAINDeKJ095522@svn.freebsd.org> From: John Baldwin Date: Tue, 18 Nov 2008 23:13:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r185068 - head/sys/fs/cd9660 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2008 23:13:40 -0000 Author: jhb Date: Tue Nov 18 23:13:40 2008 New Revision: 185068 URL: http://svn.freebsd.org/changeset/base/185068 Log: Remove unused i_flags field and IN_ACCESS flag from cd9660 in-memory i-nodes. cd9660 doesn't support access times. Modified: head/sys/fs/cd9660/cd9660_node.c head/sys/fs/cd9660/cd9660_node.h head/sys/fs/cd9660/cd9660_vnops.c Modified: head/sys/fs/cd9660/cd9660_node.c ============================================================================== --- head/sys/fs/cd9660/cd9660_node.c Tue Nov 18 22:17:17 2008 (r185067) +++ head/sys/fs/cd9660/cd9660_node.c Tue Nov 18 23:13:40 2008 (r185068) @@ -72,7 +72,6 @@ cd9660_inactive(ap) if (prtactive && vrefcnt(vp) != 0) vprint("cd9660_inactive: pushing active", vp); - ip->i_flag = 0; /* * If we are done with the inode, reclaim it * so that it can be reused immediately. Modified: head/sys/fs/cd9660/cd9660_node.h ============================================================================== --- head/sys/fs/cd9660/cd9660_node.h Tue Nov 18 22:17:17 2008 (r185067) +++ head/sys/fs/cd9660/cd9660_node.h Tue Nov 18 23:13:40 2008 (r185068) @@ -58,7 +58,6 @@ typedef struct { struct iso_node { struct vnode *i_vnode; /* vnode associated with this inode */ - u_long i_flag; /* see below */ ino_t i_number; /* the identity of the inode */ /* we use the actual starting block of the file */ struct iso_mnt *i_mnt; /* filesystem associated with this inode */ @@ -78,9 +77,6 @@ struct iso_node { #define i_forw i_chain[0] #define i_back i_chain[1] -/* flags */ -#define IN_ACCESS 0x0020 /* inode access time to be updated */ - #define VTOI(vp) ((struct iso_node *)(vp)->v_data) #define ITOV(ip) ((ip)->i_vnode) Modified: head/sys/fs/cd9660/cd9660_vnops.c ============================================================================== --- head/sys/fs/cd9660/cd9660_vnops.c Tue Nov 18 22:17:17 2008 (r185067) +++ head/sys/fs/cd9660/cd9660_vnops.c Tue Nov 18 23:13:40 2008 (r185068) @@ -295,7 +295,6 @@ cd9660_read(ap) return (0); if (uio->uio_offset < 0) return (EINVAL); - ip->i_flag |= IN_ACCESS; imp = ip->i_mnt; do { lbn = lblkno(imp, uio->uio_offset);