Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Jul 2005 01:11:30 -0000
From:      Peter Edwards <peadar@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/fs/ntfs ntfs_subr.c ntfs_vfsops.c ntfs_vnops.c
Message-ID:  <200501271350.j0RDoSuA035349@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501271350.j0RDoSuA035349>