* Implement new system calls in the kernel: statvfs(), fstatvfs(),
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 1 Jun 2008 19:27:37 +0000 (19:27 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 1 Jun 2008 19:27:37 +0000 (19:27 +0000)
commitd9fad06efb17ebed7dc91f2c8ed986184e89e0a1
tree138fb35974807a1e1bc723f6b0b49e171cda2869
parentf670d62574a0e5a5ecfc2389a27899738ca49fdf
* Implement new system calls in the kernel:  statvfs(), fstatvfs(),
  fhstatvfs().

* Implement a new VFS op, VFS_STATVFS().  Implement a default for this new
  op for VFSs which do not implement VFS_STATVFS(), which calls VFS_STATFS()
  and converts the structure (using Joerg's conversion procedure from libc).

* Remove statvfs(), fstatvfs(), and fhstatvfs() from libc.  These functions
  are now system calls.
19 files changed:
lib/libc/include/libc_private.h
lib/libc/sys/Makefile.inc
lib/libc/sys/__cvtstatvfs.c [deleted file]
lib/libc/sys/fstatvfs.c [deleted file]
lib/libc/sys/statvfs.c [deleted file]
sys/kern/init_sysent.c
sys/kern/syscalls.c
sys/kern/syscalls.master
sys/kern/vfs_default.c
sys/kern/vfs_init.c
sys/kern/vfs_syscalls.c
sys/sys/kern_syscall.h
sys/sys/mount.h
sys/sys/mountctl.h
sys/sys/syscall-hide.h
sys/sys/syscall.h
sys/sys/syscall.mk
sys/sys/sysproto.h
sys/sys/sysunion.h