cvs commit: src/sys/fs/msdosfs msdosfs_lookup.c

Xin LI delphij at FreeBSD.org
Wed Oct 13 09:28:40 PDT 2004


delphij     2004-10-13 16:28:40 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/fs/msdosfs       msdosfs_lookup.c 
  Log:
  MFC revision 1.41
  date: 2004/09/08 11:25:41;  author: tjr;  state: Exp;  lines: +18 -3
  Merge from NetBSD:
  Fix a problem in previous: we can't blindly assume that we have
  wincnt entries available at the offset the file has been found. If the dos
  directory entry is not preceded by appropriate number of long name
  entries (happens e.g. when the filesystem is corrupted, or when
  the filename complies to DOS rules and doesn't use any long name entry),
  we would overwrite random directory entries.
  
  There are still some problems, the whole thing has to be revisited and solved
  right.
  
  Approved by:    re (scottl)
  Approved by:    murray (mentor)
  
  Revision  Changes    Path
  1.40.2.1  +18 -3     src/sys/fs/msdosfs/msdosfs_lookup.c


More information about the cvs-src mailing list