diff options
author | bde <bde@FreeBSD.org> | 1997-11-22 08:35:46 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-11-22 08:35:46 +0000 |
commit | 975c3797b1c2e5d9e9c4439ac6f45c4890b6f5e6 (patch) | |
tree | 80d234227db7255487bd324bf6a88b42c1324a74 /sys/ufs/ffs/ffs_alloc.c | |
parent | 3304eb82bb558ae64d3734e6c108288583f1e05e (diff) | |
download | FreeBSD-src-975c3797b1c2e5d9e9c4439ac6f45c4890b6f5e6.zip FreeBSD-src-975c3797b1c2e5d9e9c4439ac6f45c4890b6f5e6.tar.gz |
Staticized.
Diffstat (limited to 'sys/ufs/ffs/ffs_alloc.c')
-rw-r--r-- | sys/ufs/ffs/ffs_alloc.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c index c32f07a..8d1d5c0 100644 --- a/sys/ufs/ffs/ffs_alloc.c +++ b/sys/ufs/ffs/ffs_alloc.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ffs_alloc.c 8.18 (Berkeley) 5/26/95 - * $Id: ffs_alloc.c,v 1.42 1997/11/07 08:53:34 phk Exp $ + * $Id: ffs_alloc.c,v 1.43 1997/11/22 07:00:40 bde Exp $ */ #include "opt_quota.h" @@ -58,6 +58,9 @@ typedef ufs_daddr_t allocfcn_t __P((struct inode *ip, int cg, ufs_daddr_t bpref, static ufs_daddr_t ffs_alloccg __P((struct inode *, int, ufs_daddr_t, int)); static ufs_daddr_t ffs_alloccgblk __P((struct fs *, struct cg *, ufs_daddr_t)); +#ifdef DIAGNOSTIC +static int ffs_checkblk __P((struct inode *, ufs_daddr_t, long)); +#endif static void ffs_clusteracct __P((struct fs *, struct cg *, ufs_daddr_t, int)); #ifdef notyet @@ -335,7 +338,7 @@ nospace: static int doasyncfree = 1; SYSCTL_INT(_vfs_ffs, FFS_ASYNCFREE, doasyncfree, CTLFLAG_RW, &doasyncfree, 0, ""); -int doreallocblks = 1; +static int doreallocblks = 1; SYSCTL_INT(_vfs_ffs, FFS_REALLOCBLKS, doreallocblks, CTLFLAG_RW, &doreallocblks, 0, ""); static int prtrealloc = 0; @@ -1357,7 +1360,7 @@ ffs_blkfree(ip, bno, size) * Verify allocation of a block or fragment. Returns true if block or * fragment is allocated, false if it is free. */ -int +static int ffs_checkblk(ip, bno, size) struct inode *ip; ufs_daddr_t bno; |