diff options
author | peter <peter@FreeBSD.org> | 1997-05-25 04:57:11 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-05-25 04:57:11 +0000 |
commit | 4623237221c6780dd003b452788a3cc474036d01 (patch) | |
tree | 753dd7f41d2dd582d8694d85ccaecb0e4405c2d3 /sys/ufs | |
parent | e803ad6c09aa9268a4b0333ffec2dc07a37d0e85 (diff) | |
download | FreeBSD-src-4623237221c6780dd003b452788a3cc474036d01.zip FreeBSD-src-4623237221c6780dd003b452788a3cc474036d01.tar.gz |
Fix warnings (from LINT). Missing static prototype, missing vm includes
for vnode_pager_setsize().
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/lfs/lfs_balloc.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/ufs/lfs/lfs_balloc.c b/sys/ufs/lfs/lfs_balloc.c index 695049d..44f0cb4 100644 --- a/sys/ufs/lfs/lfs_balloc.c +++ b/sys/ufs/lfs/lfs_balloc.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)lfs_balloc.c 8.4 (Berkeley) 5/8/95 - * $Id: lfs_balloc.c,v 1.10 1997/02/22 09:47:17 peter Exp $ + * $Id: lfs_balloc.c,v 1.11 1997/03/23 00:45:10 bde Exp $ */ #include <sys/param.h> #include <sys/systm.h> @@ -41,6 +41,10 @@ #include <sys/mount.h> #include <sys/resourcevar.h> +#include <vm/vm.h> +#include <vm/vm_param.h> +#include <vm/vm_extern.h> + #include <miscfs/specfs/specdev.h> #include <ufs/ufs/quota.h> @@ -51,6 +55,9 @@ #include <ufs/lfs/lfs.h> #include <ufs/lfs/lfs_extern.h> +static int lfs_fragextend(struct vnode *vp, int osize, int nsize, daddr_t lbn, + struct buf **bpp); + int lfs_balloc(vp, offset, iosize, lbn, bpp) struct vnode *vp; @@ -203,6 +210,7 @@ lfs_balloc(vp, offset, iosize, lbn, bpp) return (0); } +static int lfs_fragextend(vp, osize, nsize, lbn, bpp) struct vnode *vp; int osize; |