Linux emulation adjustments.
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 28 Sep 2008 05:08:16 +0000 (05:08 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 28 Sep 2008 05:08:16 +0000 (05:08 +0000)
commit8b9535593fae52bd35c58089ec78e6d4244f11e6
tree52cde6716dabab13f76c3e6bb32331d012cb252a
parent64950f313df84566d830ee10f9721f033e309748
Linux emulation adjustments.

* Change the special case value for the compat option to getdents,
  newer versions of linux were using the value to probe availability
  of the 64 bit getdents.

* Change the cookie sequencing a bit for getdents.  It still isn't quite
  right.

* Generate a hashed 32 bit inode number from our 64 bit inode number.
sys/emulation/linux/linux_file.c
sys/emulation/linux/linux_stats.c
sys/emulation/linux/linux_util.h