summaryrefslogtreecommitdiffstats
path: root/sys/fs/msdosfs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-08-13 10:05:50 +0000
committerphk <phk@FreeBSD.org>2002-08-13 10:05:50 +0000
commite4f487f25e655eea952eee59b10d458e56eeb30d (patch)
tree7644f325648e3c87438ca1fef6504d5772e336d2 /sys/fs/msdosfs
parent294097ed71af31961af5ded01883a93b24152d52 (diff)
downloadFreeBSD-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/fs/msdosfs')
-rw-r--r--sys/fs/msdosfs/msdosfs_vfsops.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/sys/fs/msdosfs/msdosfs_vfsops.c b/sys/fs/msdosfs/msdosfs_vfsops.c
index 0ad34a0..f820b2a 100644
--- a/sys/fs/msdosfs/msdosfs_vfsops.c
+++ b/sys/fs/msdosfs/msdosfs_vfsops.c
@@ -89,16 +89,13 @@ static MALLOC_DEFINE(M_MSDOSFSFAT, "MSDOSFS FAT", "MSDOSFS file allocation table
static int update_mp(struct mount *mp, struct msdosfs_args *argp);
static int mountmsdosfs(struct vnode *devvp, struct mount *mp,
struct thread *td, struct msdosfs_args *argp);
-static int msdosfs_fhtovp(struct mount *, struct fid *, struct vnode **);
-static int msdosfs_mount(struct mount *, char *, caddr_t,
- struct nameidata *, struct thread *);
-static int msdosfs_root(struct mount *, struct vnode **);
-static int msdosfs_statfs(struct mount *, struct statfs *,
- struct thread *);
-static int msdosfs_sync(struct mount *, int, struct ucred *,
- struct thread *);
-static int msdosfs_unmount(struct mount *, int, struct thread *);
-static int msdosfs_vptofh(struct vnode *, struct fid *);
+static vfs_fhtovp_t msdosfs_fhtovp;
+static vfs_mount_t msdosfs_mount;
+static vfs_root_t msdosfs_root;
+static vfs_statfs_t msdosfs_statfs;
+static vfs_sync_t msdosfs_sync;
+static vfs_unmount_t msdosfs_unmount;
+static vfs_vptofh_t msdosfs_vptofh;
static int
update_mp(mp, argp)
OpenPOWER on IntegriCloud