kernel - Fix deadlock in tmpfs
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 22 Feb 2013 21:01:45 +0000 (13:01 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 22 Feb 2013 21:01:45 +0000 (13:01 -0800)
commitaa21b4baec3e6517aa9c6ff072635123cb021f74
tree7f049dfb94a03f02c939f077d8c4652a0d65f2a9
parentbd7598aaf2e0bcbd4614fca451ec918904e4e974
kernel - Fix deadlock in tmpfs

* If the pageout daemon is paging out a file on a tmpfs mount concurrent
  with an unmount of same, a deadlock can occur.

* Fix the node vs vnode lock order in the tmpfs umount code.
sys/vfs/tmpfs/tmpfs_vfsops.c