summaryrefslogtreecommitdiffstats
path: root/sys/ufs/lfs/lfs_vfsops.c
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1994-05-25 09:21:21 +0000
committerrgrimes <rgrimes@FreeBSD.org>1994-05-25 09:21:21 +0000
commit2469c867a164210ce96143517059f21db7f1fd17 (patch)
tree9179427ac860211c445df663fd2b86267366bfba /sys/ufs/lfs/lfs_vfsops.c
parentcb0aba89af15a48e2655e898a503946ac4cb42ae (diff)
downloadFreeBSD-src-2469c867a164210ce96143517059f21db7f1fd17.zip
FreeBSD-src-2469c867a164210ce96143517059f21db7f1fd17.tar.gz
The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.
Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman
Diffstat (limited to 'sys/ufs/lfs/lfs_vfsops.c')
-rw-r--r--sys/ufs/lfs/lfs_vfsops.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/ufs/lfs/lfs_vfsops.c b/sys/ufs/lfs/lfs_vfsops.c
index 0c8186e..f5dd1c6 100644
--- a/sys/ufs/lfs/lfs_vfsops.c
+++ b/sys/ufs/lfs/lfs_vfsops.c
@@ -86,6 +86,7 @@ lfs_mountroot()
*
* mount system call
*/
+int
lfs_mount(mp, path, data, ndp, p)
register struct mount *mp;
char *path;
@@ -95,7 +96,7 @@ lfs_mount(mp, path, data, ndp, p)
{
struct vnode *devvp;
struct ufs_args args;
- struct ufsmount *ump;
+ struct ufsmount *ump = 0;
register struct lfs *fs; /* LFS */
u_int size;
int error;
@@ -312,6 +313,7 @@ out:
/*
* unmount system call
*/
+int
lfs_unmount(mp, mntflags, p)
struct mount *mp;
int mntflags;
@@ -371,6 +373,7 @@ lfs_unmount(mp, mntflags, p)
/*
* Get file system statistics.
*/
+int
lfs_statfs(mp, sbp, p)
struct mount *mp;
register struct statfs *sbp;
@@ -409,6 +412,7 @@ lfs_statfs(mp, sbp, p)
*
* Note: we are always called with the filesystem marked `MPBUSY'.
*/
+int
lfs_sync(mp, waitfor, cred, p)
struct mount *mp;
int waitfor;
@@ -557,6 +561,7 @@ lfs_fhtovp(mp, fhp, nam, vpp, exflagsp, credanonp)
* Vnode pointer to File handle
*/
/* ARGSUSED */
+int
lfs_vptofh(vp, fhp)
struct vnode *vp;
struct fid *fhp;
OpenPOWER on IntegriCloud