freebsd-dev/sys/fs
John Baldwin e46502943a Make ftruncate a 'struct file' operation rather than a vnode operation.
This makes it possible to support ftruncate() on non-vnode file types in
the future.
- 'struct fileops' grows a 'fo_truncate' method to handle an ftruncate() on
  a given file descriptor.
- ftruncate() moves to kern/sys_generic.c and now just fetches a file
  object and invokes fo_truncate().
- The vnode-specific portions of ftruncate() move to vn_truncate() in
  vfs_vnops.c which implements fo_truncate() for vnode file types.
- Non-vnode file types return EINVAL in their fo_truncate() method.

Submitted by:	rwatson
2008-01-07 20:05:19 +00:00
..
cd9660 Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
coda Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
deadfs Below is slightly edited description of the LOR by Tor Egge: 2007-01-22 11:25:22 +00:00
devfs Make ftruncate a 'struct file' operation rather than a vnode operation. 2008-01-07 20:05:19 +00:00
fdescfs Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
fifofs Make ftruncate a 'struct file' operation rather than a vnode operation. 2008-01-07 20:05:19 +00:00
hpfs g_vfs_close() wants the sx topology lock held while executing, so just 2008-01-07 16:51:24 +00:00
msdosfs o English lesson from bde@: "iff" is not a typo, it means "if and only if". 2007-11-18 09:21:30 +00:00
ntfs o Mask maximum file permissions we get from mount_ntfs -m 2007-11-17 17:05:01 +00:00
nullfs Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
nwfs Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
portalfs Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
procfs - Move all of the PS_ flags into either p_flag or td_flags. 2007-09-17 05:31:39 +00:00
pseudofs Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
smbfs Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
tmpfs Turn MPASS(0) into panic with more obvious reason why the assertion 2007-12-07 00:00:21 +00:00
udf Fix calculation of descriptor tag checksums. According to ECMA-167, Part 4, 2007-12-11 19:49:40 +00:00
unionfs Trimm out now unused option LK_EXCLUPGRADE from the lockmgr namespace. 2007-12-28 00:38:13 +00:00