Remove the call to getinoquota() from ntfs_access. How did it get there?!

Approved by:	rwatson (mentor)
This commit is contained in:
Edward Tomasz Napierala 2008-11-02 11:49:19 +00:00
parent 1efbe1a4be
commit 2a9e5e2e7c

View File

@ -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;
}
}