1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/sys/fs
Poul-Henning Kamp 8df6bac4c7 Remove the unused credential argument from VOP_FSYNC() and VFS_SYNC().
I'm not sure why a credential was added to these in the first place, it is
not used anywhere and it doesn't make much sense:

	The credentials for syncing a file (ability to write to the
	file) should be checked at the system call level.

	Credentials for syncing one or more filesystems ("none")
	should be checked at the system call level as well.

	If the filesystem implementation needs a particular credential
	to carry out the syncing it would logically have to the
	cached mount credential, or a credential cached along with
	any delayed write data.

Discussed with:	rwatson
2005-01-11 07:36:22 +00:00
..
cd9660 /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 22:18:23 +00:00
coda Remove the unused credential argument from VOP_FSYNC() and VFS_SYNC(). 2005-01-11 07:36:22 +00:00
deadfs /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:10:42 +00:00
devfs /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:10:42 +00:00
fdescfs /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:10:42 +00:00
fifofs /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:10:42 +00:00
hpfs /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:10:42 +00:00
msdosfs Remove the unused credential argument from VOP_FSYNC() and VFS_SYNC(). 2005-01-11 07:36:22 +00:00
ntfs /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:10:42 +00:00
nullfs Remove the unused credential argument from VOP_FSYNC() and VFS_SYNC(). 2005-01-11 07:36:22 +00:00
nwfs /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:10:42 +00:00
portalfs /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:10:42 +00:00
procfs /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:10:42 +00:00
pseudofs Annotate that pfs_exit() always acquires and releases two mutexes for 2005-01-08 04:56:38 +00:00
smbfs /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:10:42 +00:00
udf /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:10:42 +00:00
umapfs /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:10:42 +00:00
unionfs Remove the unused credential argument from VOP_FSYNC() and VFS_SYNC(). 2005-01-11 07:36:22 +00:00