Delay checking the vnode locking of the target vnodes in tmpfs_rename()
authorguenther <guenther@openbsd.org>
Tue, 7 Jan 2014 04:44:56 +0000 (04:44 +0000)
committerguenther <guenther@openbsd.org>
Tue, 7 Jan 2014 04:44:56 +0000 (04:44 +0000)
commitd86fc745bd2cb49f9b6a4d76caee22f6eaeae1de
treefcdebbe3eade394ee48da5037d462a882770ae7f
parent88eebbb3f34ad74e25c3b43d640bca76e4bfe133
Delay checking the vnode locking of the target vnodes in tmpfs_rename()
until we've confirmed they're on the same filesystem as the source:
not all filesystems do locking the same.

problem report and testing chrisz@
ok espie@
sys/tmpfs/tmpfs_vnops.c