cvs commit: src/sys/fs/ntfs ntfs_subr.c ntfs_vfsops.c ntfs_vnops.c

Peter Edwards peadar at FreeBSD.org
Thu Jan 27 05:50:28 PST 2005


peadar      2005-01-27 13:50:28 UTC

  FreeBSD src repository

  Modified files:
    sys/fs/ntfs          ntfs_subr.c ntfs_vfsops.c ntfs_vnops.c 
  Log:
  Make NTFS at least minimally usable after bufobj and GEOM fallout.
  
  mmap() on NTFS files was hosed, returning pages offset from the
  start of the disk rather than the start of the file. (ie, "cp" of
  a 1-block file would get you a copy of the boot sector, not the
  data in the file.) The solution isn't ideal, but gives a functioning
  filesystem.
  
  Cached vnode lookup was also broken, resulting in vnode haemorrhage.
  A lookup on the same file twice would give you two vnodes, and the
  resulting cached pages.
  
  Just recently, mmap() was broken due to a lack of a call to
  vnode_create_vobject() in ntfs_open().
  
  Discussed with: phk@
  
  Revision  Changes    Path
  1.36      +1 -0      src/sys/fs/ntfs/ntfs_subr.c
  1.76      +31 -1     src/sys/fs/ntfs/ntfs_vfsops.c
  1.50      +3 -4      src/sys/fs/ntfs/ntfs_vnops.c


More information about the cvs-src mailing list