summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ffs/ffs_alloc.c
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2001-05-04 05:49:28 +0000
committermckusick <mckusick@FreeBSD.org>2001-05-04 05:49:28 +0000
commit547825394dacc3aeadbae341ebb67b8970c6b910 (patch)
treed34faf59d34bd81b5d96f9a8e8ab96ccb2ed06f3 /sys/ufs/ffs/ffs_alloc.c
parent7a74be42b668e798ac3e24e9936a9052711cf7cd (diff)
downloadFreeBSD-src-547825394dacc3aeadbae341ebb67b8970c6b910.zip
FreeBSD-src-547825394dacc3aeadbae341ebb67b8970c6b910.tar.gz
Refinement to revision 1.16 of ufs/ffs/ffs_snapshot.c to reduce
the amount of time that the filesystem must be suspended. The current snapshot is elided as well as the earlier snapshots.
Diffstat (limited to 'sys/ufs/ffs/ffs_alloc.c')
-rw-r--r--sys/ufs/ffs/ffs_alloc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c
index f569dc1..21a26a3 100644
--- a/sys/ufs/ffs/ffs_alloc.c
+++ b/sys/ufs/ffs/ffs_alloc.c
@@ -67,8 +67,6 @@ static 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));
static ufs_daddr_t ffs_clusteralloc __P((struct inode *, int, ufs_daddr_t,
int));
static ino_t ffs_dirpref __P((struct inode *));
@@ -1717,7 +1715,7 @@ ffs_mapsearch(fs, cgp, bpref, allocsiz)
*
* Cnt == 1 means free; cnt == -1 means allocating.
*/
-static void
+void
ffs_clusteracct(fs, cgp, blkno, cnt)
struct fs *fs;
struct cg *cgp;
OpenPOWER on IntegriCloud