When the quotacheck has not been run the quota code may have to
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 6 Nov 2007 17:11:38 +0000 (17:11 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 6 Nov 2007 17:11:38 +0000 (17:11 +0000)
commit2922abc9279fe5365073dd3cdd8f1922488fae52
tree46e72d8aa596fb32c79d49a524e7f1a26695788f
parent306cc24ccd67cb1e2254a74552fd65f28664936c
When the quotacheck has not been run the quota code may have to
allocate blocks in the userquota file itself.  This will deadlock the
quota system.

Disallow adjustments of quotas related to operations on the userquota file
itself, and generate a warning to the console.

Reported-by: David W <dpwalters@carolina.rr.com>
sys/vfs/ufs/quota.h
sys/vfs/ufs/ufs_quota.c