From owner-svn-src-all@FreeBSD.ORG Sun Nov 2 11:49:19 2008 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7FDA1065675; Sun, 2 Nov 2008 11:49:19 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B6AD28FC16; Sun, 2 Nov 2008 11:49:19 +0000 (UTC) (envelope-from trasz@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 mA2BnJ4J037892; Sun, 2 Nov 2008 11:49:19 GMT (envelope-from trasz@svn.freebsd.org) Received: (from trasz@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mA2BnJ1c037891; Sun, 2 Nov 2008 11:49:19 GMT (envelope-from trasz@svn.freebsd.org) Message-Id: <200811021149.mA2BnJ1c037891@svn.freebsd.org> From: Edward Tomasz Napierala Date: Sun, 2 Nov 2008 11:49:19 +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: r184557 - head/sys/fs/ntfs X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Nov 2008 11:49:19 -0000 Author: trasz Date: Sun Nov 2 11:49:19 2008 New Revision: 184557 URL: http://svn.freebsd.org/changeset/base/184557 Log: Remove the call to getinoquota() from ntfs_access. How did it get there?! Approved by: rwatson (mentor) Modified: head/sys/fs/ntfs/ntfs_vnops.c Modified: head/sys/fs/ntfs/ntfs_vnops.c ============================================================================== --- head/sys/fs/ntfs/ntfs_vnops.c Sun Nov 2 10:33:57 2008 (r184556) +++ head/sys/fs/ntfs/ntfs_vnops.c Sun Nov 2 11:49:19 2008 (r184557) @@ -394,9 +394,6 @@ ntfs_access(ap) struct vnode *vp = ap->a_vp; struct ntnode *ip = VTONT(vp); accmode_t accmode = ap->a_accmode; -#ifdef QUOTA - int error; -#endif dprintf(("ntfs_access: %d\n",ip->i_number)); @@ -412,10 +409,6 @@ ntfs_access(ap) case VREG: if (vp->v_mount->mnt_flag & MNT_RDONLY) return (EROFS); -#ifdef QUOTA - if (error = getinoquota(ip)) - return (error); -#endif break; } }