kernel - Fix cross-mount handling in tmpfs hardlink code
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 22 Feb 2013 21:03:04 +0000 (13:03 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 22 Feb 2013 21:03:04 +0000 (13:03 -0800)
commit6434f9635a3e6e9bd39eba77d3bd0c4e399b493c
tree85bb4d821d595ad048ca52e6d46563bd60719789
parentaa21b4baec3e6517aa9c6ff072635123cb021f74
kernel - Fix cross-mount handling in tmpfs hardlink code

* Fix tmpfs to properly report EXDEV when a cross-mount hardlink is
  attempted instead of asserting and causing a panic.

Reported-by: ftigeot
sys/vfs/tmpfs/tmpfs_vnops.c