diff options
Diffstat (limited to 'sys/ufs/ffs/ffs_vfsops.c')
-rw-r--r-- | sys/ufs/ffs/ffs_vfsops.c | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index a7317e3..0499224 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -68,7 +68,7 @@ __FBSDID("$FreeBSD$"); #include <geom/geom.h> #include <geom/geom_vfs.h> -uma_zone_t uma_inode, uma_ufs1, uma_ufs2; +static uma_zone_t uma_inode, uma_ufs1, uma_ufs2; static int ffs_sbupdate(struct ufsmount *, int); static int ffs_reload(struct mount *, struct thread *); @@ -81,7 +81,12 @@ static vfs_init_t ffs_init; static vfs_uninit_t ffs_uninit; static vfs_extattrctl_t ffs_extattrctl; static vfs_cmount_t ffs_cmount; +static vfs_unmount_t ffs_unmount; static vfs_mount_t ffs_mount; +static vfs_statfs_t ffs_statfs; +static vfs_fhtovp_t ffs_fhtovp; +static vfs_vptofh_t ffs_vptofh; +static vfs_sync_t ffs_sync; static struct vfsops ufs_vfsops = { .vfs_extattrctl = ffs_extattrctl, @@ -807,7 +812,7 @@ out: } #include <sys/sysctl.h> -int bigcgs = 0; +static int bigcgs = 0; SYSCTL_INT(_debug, OID_AUTO, bigcgs, CTLFLAG_RW, &bigcgs, 0, ""); /* @@ -903,7 +908,7 @@ ffs_oldfscompat_write(fs, ump) /* * unmount system call */ -int +static int ffs_unmount(mp, mntflags, td) struct mount *mp; int mntflags; @@ -1024,7 +1029,7 @@ ffs_flushfiles(mp, flags, td) /* * Get filesystem statistics. */ -int +static int ffs_statfs(mp, sbp, td) struct mount *mp; struct statfs *sbp; @@ -1060,7 +1065,7 @@ ffs_statfs(mp, sbp, td) * * Note: we are always called with the filesystem marked `MPBUSY'. */ -int +static int ffs_sync(mp, waitfor, td) struct mount *mp; int waitfor; @@ -1349,7 +1354,7 @@ ffs_vget(mp, ino, flags, vpp) * - check that the given client host has export rights and return * those rights via. exflagsp and credanonp */ -int +static int ffs_fhtovp(mp, fhp, vpp) struct mount *mp; struct fid *fhp; @@ -1370,7 +1375,7 @@ ffs_fhtovp(mp, fhp, vpp) * Vnode pointer to File handle */ /* ARGSUSED */ -int +static int ffs_vptofh(vp, fhp) struct vnode *vp; struct fid *fhp; |