Fix lock order reversal in nfs_inactive()
authorvisa <visa@openbsd.org>
Mon, 27 Jun 2022 13:39:58 +0000 (13:39 +0000)
committervisa <visa@openbsd.org>
Mon, 27 Jun 2022 13:39:58 +0000 (13:39 +0000)
commit4620961b1965c4a101f38ea51ea9f509dec85f68
tree041e6fff6f3c302b814968dcad29cb87fcc4924b
parentdc399801d5c5a8186948b30d54856b4091647d85
Fix lock order reversal in nfs_inactive()

Make the silly file removal happen after the vnode has been unlocked.
This avoids a file-directory reversal in the vnode locking order.

OK jca@
sys/nfs/nfs_node.c