Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Nov 2008 11:49:19 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r184557 - head/sys/fs/ntfs
Message-ID:  <200811021149.mA2BnJ1c037891@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 		}
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811021149.mA2BnJ1c037891>