kernel - Fix access chceck in tmpfs that prevented chroot's into it
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 1 Nov 2010 16:29:31 +0000 (09:29 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 1 Nov 2010 16:30:57 +0000 (09:30 -0700)
commite064349336477b4537ee19cb2fe2ed3b62ccbb0b
tree1f0228f1d6ce630108e3fbd08ca6cb7e730b06e8
parentf48559fd3cbe6d5d532ff56cc0d04c854cd30b01
kernel - Fix access chceck in tmpfs that prevented chroot's into it

* Fix broken code which caused access() calls into tmpfs to assume
  write permission was being requested when it was not.

Submitted-by: Rumko <rumcic@gmail.com>
sys/vfs/tmpfs/tmpfs_vnops.c