diff options
author | rwatson <rwatson@FreeBSD.org> | 2008-02-09 12:49:18 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2008-02-09 12:49:18 +0000 |
commit | 5b9b5c8121bf0edacdab9359bc8536551869a07d (patch) | |
tree | 372cda7b33f7c084cafb167d7cbd1a5f86fea525 /sys/fs/coda/coda_psdev.h | |
parent | f2fd79dc062d4cbd8747964912ab80b313154d42 (diff) | |
download | FreeBSD-src-5b9b5c8121bf0edacdab9359bc8536551869a07d.zip FreeBSD-src-5b9b5c8121bf0edacdab9359bc8536551869a07d.tar.gz |
Various further non-functional cleanups to coda:
- Rename print_vattr to coda_print_vattr and make static, rename
print_cred to coda_print_cred.
- Remove unused coda_vop_nop.
- Add XXX comment because coda_readdir forwards to the cache vnode's
readdir rather than venus_readdir, and annotate venus_readdir as
unused.
- Rename vc_nb_* to vc_*.
- Use d_open_t, d_close_t, d_read_t, d_write_t, d_ioctl_t and d_poll_t
for prototyping vc_* as that is the intent, don't use our own
definitions.
- Rename coda_nb_statfs to coda_statfs, rename NB_SFS_SIZ to
CODA_SFS_SIZ.
- Replace one more OBE reference to NetBSD with a reference to FreeBSD.
- Tidy up a little vertical whitespace here and there.
- Annotate coda_nc_zapvnode as unused.
- Remove unused vcodattach.
- Annotate VM_INTR as unused.
- Annotate that coda_fhtovp is unused and doesn't match the FreeBSD
prototype, so isn't hooked up to vfs_fhtovp. If we want NFS export of
Coda to work someday, this needs to be fixed.
- Remove unused getNewVnode.
- Remove unused coda_vget, coda_init, coda_quotactl prototypes.
MFC after: 1 month
Diffstat (limited to 'sys/fs/coda/coda_psdev.h')
-rw-r--r-- | sys/fs/coda/coda_psdev.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/fs/coda/coda_psdev.h b/sys/fs/coda/coda_psdev.h index 5d1193ba..a446e3d 100644 --- a/sys/fs/coda/coda_psdev.h +++ b/sys/fs/coda/coda_psdev.h @@ -31,9 +31,9 @@ * */ -int vc_nb_open(struct cdev *dev, int flag, int mode, struct thread *p); -int vc_nb_close (struct cdev *dev, int flag, int mode, struct thread *p); -int vc_nb_read(struct cdev *dev, struct uio *uiop, int flag); -int vc_nb_write(struct cdev *dev, struct uio *uiop, int flag); -int vc_nb_ioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag, struct thread *p); -int vc_nb_poll(struct cdev *dev, int events, struct thread *p); +d_open_t vc_open; +d_close_t vc_close; +d_read_t vc_read; +d_write_t vc_write; +d_ioctl_t vc_ioctl; +d_poll_t vc_poll; |