]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Prevent tmpfs_rename() deadlock in a way similar to UFS
authorgleb <gleb@FreeBSD.org>
Wed, 14 Mar 2012 09:15:50 +0000 (09:15 +0000)
committergleb <gleb@FreeBSD.org>
Wed, 14 Mar 2012 09:15:50 +0000 (09:15 +0000)
commitcc93f6fa4eb255e07f72e151c840b97c23fe6a68
tree19d0929ea57025df331d35363e28846e59e48723
parentfa1fc18612faf6bfd16e8092c070fc70e359b18b
Prevent tmpfs_rename() deadlock in a way similar to UFS

Unlock vnodes and try to lock them one by one. Relookup fvp and tvp.

Approved by: mdf (mentor)
sys/fs/tmpfs/tmpfs_subr.c
sys/fs/tmpfs/tmpfs_vnops.c