cvs commit: src/sys/vfs/msdosfs msdosfs_denode.c

walt wa1ter at myrealbox.com
Mon Jul 30 15:18:14 PDT 2007


Matthew Dillon wrote:
dillon      2007/07/30 07:44:56 PDT

DragonFly src repository

  Modified files:
    sys/vfs/msdosfs      msdosfs_denode.c 
  Log:
  When an inode collision occurs a partially initialized vnode will be
  destroyed.  Fix several NULL pointer dereferences in msdosfs that could
  occur in this case...
Better.  No panic now, but there's still a bug in msdosfs.  When I try
to overwrite an existing file on an msdosfs I get several screens full
of "debug: mosdosfs: hashins collision, retrying".
The strange part:  If I use 'cp' to overwrite the file all is okay.
If I use 'mv' to overwrite the file then I get the collision error
messages above.
# touch /tmp/xyz
# touch /c/xyz  (/c/ is an mosdosfs, and this command works normally)
# mv /tmp/xyz  /c   (this causes the collision messages)





More information about the Commits mailing list