mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
3ab0160340
The vfs_busy() is after covered vnode lock in the global lock order, but since quotaon() does recursive VFS call to open quota file, we usually end up locking covered vnode after mp is busied in sys_quotactl(). Change the interface of VFS_QUOTACTL(), requiring that mp was unbusied by fs code, and do not try to pick up vfs_busy() reference in ufs quotaon, esp. if vfs_busy cannot succeed due to unmount being performed. Reported and tested by: pho MFC after: 1 week |
||
---|---|---|
.. | ||
ffs | ||
ufs |