linux emu - Refactor open code
authorAlex Hornung <ahornung@gmail.com>
Fri, 9 Apr 2010 07:24:53 +0000 (07:24 +0000)
committerAlex Hornung <ahornung@gmail.com>
Fri, 9 Apr 2010 07:40:52 +0000 (07:40 +0000)
commit89f081350f948461f8db9f6289a81c7ea5bd516a
tree6bc0078569ab9cba2f7665003bdce855595c6367
parent9ea7e8bc214c6e4b865b9b70b34fb1f9e14ceae4
linux emu - Refactor open code

* Factor out a linux_open_common that both open() and openat() use.

* While here, also use CACHE_*MPLOCK*, as is done in vfs_syscalls.c.
sys/emulation/linux/linux_file.c