git: hpfs - Fix a couple panics and a little cleanup.

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Thu Nov 22 02:51:05 PST 2012


commit 597382cf67f80590bd8cbf97c3318983c00d3283
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Thu Nov 22 11:47:58 2012 +0100

    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.

Summary of changes:
 sbin/mount_hpfs/mount_hpfs.8 |   11 ++++-------
 sbin/mount_hpfs/mount_hpfs.c |   11 ++---------
 sys/vfs/hpfs/hpfs_vfsops.c   |    2 +-
 sys/vfs/hpfs/hpfs_vnops.c    |   38 ++++++++++++++++++++++----------------
 4 files changed, 29 insertions(+), 33 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/597382cf67f80590bd8cbf97c3318983c00d3283


-- 
DragonFly BSD source repository


More information about the Commits mailing list