diff options
author | kib <kib@FreeBSD.org> | 2008-08-24 17:24:22 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2008-08-24 17:24:22 +0000 |
commit | 1eb6d5f22fc674a86f2fa61e6a52a4024e0a3ce8 (patch) | |
tree | d72ea907602193092db5fadeef13505468b7be34 /etc/ddb.conf | |
parent | b170b03c8e7fb45f3b165ca67ee19e55f3ae9b53 (diff) | |
download | FreeBSD-src-1eb6d5f22fc674a86f2fa61e6a52a4024e0a3ce8.zip FreeBSD-src-1eb6d5f22fc674a86f2fa61e6a52a4024e0a3ce8.tar.gz |
Revert the r167541: "Remove unneeded getinoquota() call in the
ufs_access()." The call to getinoquota in ufs_access() serves the
purpose of instantiating inode dquot from the vn_open(). Since quotas
are accounted only for the inodes with already attached dquot, removal
of the call prevented opened inodes from participation in the quota
calculations.
Since ufs_access() may be called with the vnode being only shared
locked, upgrade (and then downgrade) vnode lock if calling
getinoquota().
Reported by: simon at optinet com
In collaboration with: pho
MFC after: 1 week
Diffstat (limited to 'etc/ddb.conf')
0 files changed, 0 insertions, 0 deletions