freebsd-dev/sys/fs
Peter Edwards 174d6a9f73 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@
2005-01-27 13:50:27 +00:00
..
cd9660 Introduce and use g_vfs_close(). 2005-01-25 15:52:04 +00:00
coda Take VOP_GETVOBJECT() out to pasture. We use the direct pointer now. 2005-01-25 00:42:16 +00:00
deadfs Whitespace in vop_vector{} initializations. 2005-01-13 18:59:48 +00:00
devfs Whitespace in vop_vector{} initializations. 2005-01-13 18:59:48 +00:00
fdescfs Whitespace in vop_vector{} initializations. 2005-01-13 18:59:48 +00:00
fifofs Whitespace in vop_vector{} initializations. 2005-01-13 18:59:48 +00:00
hpfs Introduce and use g_vfs_close(). 2005-01-25 15:52:04 +00:00
msdosfs Introduce and use g_vfs_close(). 2005-01-25 15:52:04 +00:00
ntfs Make NTFS at least minimally usable after bufobj and GEOM fallout. 2005-01-27 13:50:27 +00:00
nullfs Take VOP_GETVOBJECT() out to pasture. We use the direct pointer now. 2005-01-25 00:42:16 +00:00
nwfs whitespace nit 2005-01-19 09:07:56 +00:00
portalfs Whitespace in vop_vector{} initializations. 2005-01-13 18:59:48 +00:00
procfs /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:10:42 +00:00
pseudofs Whitespace in vop_vector{} initializations. 2005-01-13 18:59:48 +00:00
smbfs Eliminate unused and constant arguments to smbfs_vinvalbuf() 2005-01-14 08:52:55 +00:00
udf Introduce and use g_vfs_close(). 2005-01-25 15:52:04 +00:00
umapfs Whitespace in vop_vector{} initializations. 2005-01-13 18:59:48 +00:00
unionfs Take VOP_GETVOBJECT() out to pasture. We use the direct pointer now. 2005-01-25 00:42:16 +00:00