diff options
author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2005-05-27 19:23:48 +0000 |
---|---|---|
committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2005-05-27 19:23:48 +0000 |
commit | 9e9cfdca7a1bceb58fdd21cbdfc1602eec7d5e85 (patch) | |
tree | 941df0ab7d15146073b28416d06842aa5416ceb9 /sys/kern/vfs_syscalls.c | |
parent | 2b19a055abbc5be2fe11287f37ab71974593eb9c (diff) | |
download | src-9e9cfdca7a1bceb58fdd21cbdfc1602eec7d5e85.tar.gz src-9e9cfdca7a1bceb58fdd21cbdfc1602eec7d5e85.zip |
Remove (now) unused argument 'td' from cvtstatfs().
Notes
Notes:
svn path=/head/; revision=146694
Diffstat (limited to 'sys/kern/vfs_syscalls.c')
-rw-r--r-- | sys/kern/vfs_syscalls.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index e59bc09280b6..d12a65fd4c36 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -443,7 +443,7 @@ getfsstat(td, uap) /* * Get old format filesystem statistics. */ -static void cvtstatfs(struct thread *, struct statfs *, struct ostatfs *); +static void cvtstatfs(struct statfs *, struct ostatfs *); #ifndef _SYS_SYSPROTO_H_ struct freebsd4_statfs_args { @@ -466,7 +466,7 @@ freebsd4_statfs(td, uap) error = kern_statfs(td, uap->path, UIO_USERSPACE, &sf); if (error) return (error); - cvtstatfs(td, &sf, &osb); + cvtstatfs(&sf, &osb); return (copyout(&osb, uap->buf, sizeof(osb))); } @@ -494,7 +494,7 @@ freebsd4_fstatfs(td, uap) error = kern_fstatfs(td, uap->fd, &sf); if (error) return (error); - cvtstatfs(td, &sf, &osb); + cvtstatfs(&sf, &osb); return (copyout(&osb, uap->buf, sizeof(osb))); } @@ -564,7 +564,7 @@ freebsd4_getfsstat(td, uap) sb.f_fsid.val[0] = sb.f_fsid.val[1] = 0; sp = &sb; } - cvtstatfs(td, sp, &osb); + cvtstatfs(sp, &osb); error = copyout(&osb, sfsp, sizeof(osb)); if (error) { vfs_unbusy(mp, td); @@ -615,7 +615,7 @@ freebsd4_fhstatfs(td, uap) error = kern_fhstatfs(td, fh, &sf); if (error) return (error); - cvtstatfs(td, &sf, &osb); + cvtstatfs(&sf, &osb); return (copyout(&osb, uap->buf, sizeof(osb))); } @@ -623,8 +623,7 @@ freebsd4_fhstatfs(td, uap) * Convert a new format statfs structure to an old format statfs structure. */ static void -cvtstatfs(td, nsp, osp) - struct thread *td; +cvtstatfs(nsp, osp) struct statfs *nsp; struct ostatfs *osp; { |