summaryrefslogtreecommitdiffstats
path: root/usr.sbin/vidcontrol
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2008-08-24 17:24:22 +0000
committerkib <kib@FreeBSD.org>2008-08-24 17:24:22 +0000
commit1eb6d5f22fc674a86f2fa61e6a52a4024e0a3ce8 (patch)
treed72ea907602193092db5fadeef13505468b7be34 /usr.sbin/vidcontrol
parentb170b03c8e7fb45f3b165ca67ee19e55f3ae9b53 (diff)
downloadFreeBSD-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 'usr.sbin/vidcontrol')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud