diff options
author | phk <phk@FreeBSD.org> | 2002-08-13 10:05:50 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-08-13 10:05:50 +0000 |
commit | e4f487f25e655eea952eee59b10d458e56eeb30d (patch) | |
tree | 7644f325648e3c87438ca1fef6504d5772e336d2 /sys/isofs | |
parent | 294097ed71af31961af5ded01883a93b24152d52 (diff) | |
download | FreeBSD-src-e4f487f25e655eea952eee59b10d458e56eeb30d.zip FreeBSD-src-e4f487f25e655eea952eee59b10d458e56eeb30d.tar.gz |
Introduce typedefs for the member functions of struct vfsops and employ
these in the main filesystems. This does not change the resulting code
but makes the source a little bit more grepable.
Sponsored by: DARPA and NAI Labs.
Diffstat (limited to 'sys/isofs')
-rw-r--r-- | sys/isofs/cd9660/cd9660_vfsops.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c index 980612e..2126238 100644 --- a/sys/isofs/cd9660/cd9660_vfsops.c +++ b/sys/isofs/cd9660/cd9660_vfsops.c @@ -64,14 +64,13 @@ MALLOC_DEFINE(M_ISOFSMNT, "ISOFS mount", "ISOFS mount structure"); MALLOC_DEFINE(M_ISOFSNODE, "ISOFS node", "ISOFS vnode private part"); -static int cd9660_mount(struct mount *, - char *, caddr_t, struct nameidata *, struct thread *); -static int cd9660_unmount(struct mount *, int, struct thread *); -static int cd9660_root(struct mount *, struct vnode **); -static int cd9660_statfs(struct mount *, struct statfs *, struct thread *); -static int cd9660_vget(struct mount *, ino_t, int, struct vnode **); -static int cd9660_fhtovp(struct mount *, struct fid *, struct vnode **); -static int cd9660_vptofh(struct vnode *, struct fid *); +static vfs_mount_t cd9660_mount; +static vfs_unmount_t cd9660_unmount; +static vfs_root_t cd9660_root; +static vfs_statfs_t cd9660_statfs; +static vfs_vget_t cd9660_vget; +static vfs_fhtovp_t cd9660_fhtovp; +static vfs_vptofh_t cd9660_vptofh; static struct vfsops cd9660_vfsops = { cd9660_mount, |