summaryrefslogtreecommitdiffstats
path: root/sys/fs/coda
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-06-12 20:48:38 +0000
committerphk <phk@FreeBSD.org>2003-06-12 20:48:38 +0000
commitfd139fd7d009dbf6f6353b2011b0ff0bf4b32d44 (patch)
tree18550103bc5d68f2255cbfa41b2ed5008e5dd743 /sys/fs/coda
parentc4e22440ca79ff6a8d00e3d6d31f6029efa1cb8e (diff)
downloadFreeBSD-src-fd139fd7d009dbf6f6353b2011b0ff0bf4b32d44.zip
FreeBSD-src-fd139fd7d009dbf6f6353b2011b0ff0bf4b32d44.tar.gz
Initialize struct vfsops C99-sparsely.
Submitted by: hmp Reviewed by: phk
Diffstat (limited to 'sys/fs/coda')
-rw-r--r--sys/fs/coda/coda_vfsops.c20
-rw-r--r--sys/fs/coda/coda_vfsops.h24
2 files changed, 18 insertions, 26 deletions
diff --git a/sys/fs/coda/coda_vfsops.c b/sys/fs/coda/coda_vfsops.c
index 4c03a6c..3c326bd 100644
--- a/sys/fs/coda/coda_vfsops.c
+++ b/sys/fs/coda/coda_vfsops.c
@@ -550,20 +550,12 @@ struct mount *devtomp(dev)
}
struct vfsops coda_vfsops = {
- coda_mount,
- coda_start,
- coda_unmount,
- coda_root,
- vfs_stdquotactl,
- coda_nb_statfs,
- coda_sync,
- vfs_stdvget,
- vfs_stdfhtovp,
- vfs_stdcheckexp,
- vfs_stdvptofh,
- vfs_stdinit,
- vfs_stduninit,
- vfs_stdextattrctl,
+ .vfs_mount = coda_mount,
+ .vfs_root = coda_root,
+ .vfs_start = coda_start,
+ .vfs_statfs = coda_nb_statfs,
+ .vfs_sync = coda_sync,
+ .vfs_unmount = coda_unmount,
};
VFS_SET(coda_vfsops, coda, VFCF_NETWORK);
diff --git a/sys/fs/coda/coda_vfsops.h b/sys/fs/coda/coda_vfsops.h
index 57b9a5a..fbbcec4 100644
--- a/sys/fs/coda/coda_vfsops.h
+++ b/sys/fs/coda/coda_vfsops.h
@@ -47,18 +47,18 @@ struct mbuf;
struct mount;
int coda_vfsopstats_init(void);
-int coda_mount(struct mount *, char *, caddr_t, struct nameidata *,
- struct thread *);
-int coda_start(struct mount *, int, struct thread *);
-int coda_unmount(struct mount *, int, struct thread *);
-int coda_root(struct mount *, struct vnode **);
-int coda_quotactl(struct mount *, int, uid_t, caddr_t, struct thread *);
-int coda_nb_statfs(struct mount *, struct statfs *, struct thread *);
-int coda_sync(struct mount *, int, struct ucred *, struct thread *);
-int coda_vget(struct mount *, ino_t, struct vnode **);
int coda_fhtovp(struct mount *, struct fid *, struct mbuf *, struct vnode **,
- int *, struct ucred **);
-int coda_vptofh(struct vnode *, struct fid *);
-int coda_init(struct vfsconf *vfsp);
+ int *, struct ucred **);
+
+vfs_mount_t coda_mount;
+vfs_start_t coda_start;
+vfs_unmount_t coda_unmount;
+vfs_root_t coda_root;
+vfs_quotactl_t coda_quotactl;
+vfs_statfs_t coda_nb_statfs;
+vfs_sync_t coda_sync;
+vfs_vget_t coda_vget;
+vfs_vptofh_t coda_vptofh;
+vfs_init_t coda_init;
int getNewVnode(struct vnode **vpp);
OpenPOWER on IntegriCloud