kib eb43bb633e Do not upgrade the vnode lock to call getinoquota().
Doing so can deadlock when the thread already owns another vnode lock,
e.g. during a rename, as was demonstrated by the reporter.  In fact,
there seems to be no need to force the call to getinoquota() always,
because vn_open() locks vnode exclusively, and this is the most
important case.  To add to the point, directories where the dirent is
added or removed, are locked exclusively as well.

Reported by:	bwidawsk
Tested by:	bwidawsk, pho (as part of the larger patch)
Sponsored by:	The FreeBSD Foundation
Approved by:	re (gjb)
MFC after:	1 week
2018-09-17 19:38:43 +00:00
..
2018-09-13 21:00:17 +00:00
2018-09-13 07:04:00 +00:00
2018-08-24 15:00:36 +00:00
2018-08-23 13:21:01 +00:00
2018-09-12 08:13:54 +00:00
2018-07-15 00:31:17 +00:00