hpfs - Fix a couple panics and a little cleanup.
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Thu, 22 Nov 2012 10:47:58 +0000 (11:47 +0100)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Thu, 22 Nov 2012 10:47:58 +0000 (11:47 +0100)
commit597382cf67f80590bd8cbf97c3318983c00d3283
tree8485347b4d42137c4c2b9c3f06b084488b97ca44
parentc9682b51ed835746abe665420259c9d73cb06bfd
hpfs - Fix a couple panics and a little cleanup.

* Fix compilation with HPFS_DEBUG.

* Fix a panic due CNP_PDIRUNLOCK flag not being cleared.

* Fix a panic where returned vnode after a lookup is not
  NULL in the ENOENT case.

* Disable write support completely. It was pretty minimal
  and operations like create or rename were not supported.

It has been tested with a filesystem created by OS/2 Warp 2.1.
Copying data out of it worked fine, but there is still an
outstanding issue with overlapping buffers.
sbin/mount_hpfs/mount_hpfs.8
sbin/mount_hpfs/mount_hpfs.c
sys/vfs/hpfs/hpfs_vfsops.c
sys/vfs/hpfs/hpfs_vnops.c